-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
FileSystemStorageProvider shouldn't allow creating folders with "&" in their name #7572
Comments
I am working on this, and I found the "&" character in folder names, as is, has another (lesser) issue: I am checking the files in the "POI&Events" folder at the URL: In my case I have no folder there, but this may become an issue if I did. |
Even replacing the "&" with "%26" when generating the MediaUrl there is an error attemtping to access resources there. Something like (the text may not be accurate because my system is in Italian):
That leads me to think that the correct solution would be preventing folder names to contain the charater at all. |
I assume this is the case with every char that is not allowed by this filter: |
By testing, without digging through the code, I found that a few of those are actually handled already:
Only three of those need handling, after all. |
See updates to #7577 |
Fixed in #6792. |
The "&" in the name of a MediaLibrary folder creates an error when the Media Url is requested.
repro steps
you will obtain an error
2 possible solutions:
The text was updated successfully, but these errors were encountered: