You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by "caishunfeng (via GitHub)" <gi...@apache.org> on 2024/05/16 02:59:29 UTC
[I] [Bug] [Resource] unable to access file in resource center [dolphinscheduler]
caishunfeng opened a new issue, #16006:
URL: https://github.com/apache/dolphinscheduler/issues/16006
### Search before asking
- [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues.
### What happened

The url is:
http://127.0.0.1:5173/resource/file/subdirectory?prefix=file:/dolphinscheduler/default/resources/test/&tenantCode=default
### What you expected to happen
Can access the legal file normally.
### How to reproduce
- startup ds at local
- create resource dir / file
- then try to access it.
### Anything else
_No response_
### Version
dev
### Are you willing to submit PR?
- [ ] Yes I am willing to submit a PR!
### Code of Conduct
- [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Bug] [Resource] unable to access file in resource center [dolphinscheduler]
Posted by "caishunfeng (via GitHub)" <gi...@apache.org>.
caishunfeng commented on issue #16006:
URL: https://github.com/apache/dolphinscheduler/issues/16006#issuecomment-2113927294
https://github.com/apache/dolphinscheduler/blob/68a190674fe7f6d0e957fca1efa085b067224cb7/dolphinscheduler-api/src/test/java/org/apache/dolphinscheduler/api/utils/CheckUtilsTest.java#L109
It seems `file://` is illegal path but the url prefix is `file:/`.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Bug] [Resource] unable to access file in resource center [dolphinscheduler]
Posted by "SbloodyS (via GitHub)" <gi...@apache.org>.
SbloodyS closed issue #16006: [Bug] [Resource] unable to access file in resource center
URL: https://github.com/apache/dolphinscheduler/issues/16006
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org