-
-
Notifications
You must be signed in to change notification settings - Fork 173
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
Filename sanitization rules are inconsistent #6465
Comments
It's hasn't gotten lost. Let's keep it with one issue for this. |
The other issue was and remains closed as “completed” (after me stating more inconsistencies), so I thought there is need for a new one to stay visible. |
@distantnative Ah, true! But using the passed allowed character set is prone to becoming out of sync with the sanitization on the server (which is hardcoded) again. Also, as I mentioned, the Panel can’t handle files starting with an underscore (which was prevented so far) so there is a way to break it now by renaming a file to start with an underscore. |
Which is why the PR also removes them on the Panel/frontend at the start/end of the filename. |
Perfect. Sorry, I didn’t check all commits and there was no feedback on my additional comment. |
As a followup from the other issue. I added the following comment, which probably got lost:
The text was updated successfully, but these errors were encountered: