Loris icon indicating copy to clipboard operation
Loris copied to clipboard

[config] Directory path not working without trailing slash

Open maximemulder opened this issue 10 months ago • 0 comments

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 avatar Apr 11 '24 18:04 maximemulder