Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[config] Directory path not working without trailing slash #9204

Open
maximemulder opened this issue Apr 11, 2024 · 0 comments
Open

[config] Directory path not working without trailing slash #9204

maximemulder opened this issue Apr 11, 2024 · 0 comments
Labels
Bug PR or issue introducing/requiring bug fixes (not mutually exclusive with the Feature label)

Comments

@maximemulder
Copy link
Contributor

Describe the bug

While testing #9203, I noticed that if I do not put a trailing slash at the end of the media path (example: /data/media instead of /data/media/), the path is accepted but I get an error 500 while uploading the file later.

I haven't yet looked at how config works and if other paths are affected, but ideally the behaviour should be the same for all directory paths, which should have a trailing slash automatically appended if it is not already present.

@maximemulder maximemulder added the Bug PR or issue introducing/requiring bug fixes (not mutually exclusive with the Feature label) label Apr 11, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Bug PR or issue introducing/requiring bug fixes (not mutually exclusive with the Feature label)
Projects
None yet
Development

No branches or pull requests

1 participant