Skip to content
New issue

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

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

Already on GitHub? Sign in 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in 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