Rock
Rock copied to clipboard
File Manager - Ampersand in File Name causes file to be unreadable
Prerequisites
- [X] Put an X between the brackets on this line if you have done all of the following:
- Did you perform a search at https://github.com/issues?q=is%3Aissue+user%3ASparkDevNetwork+-repo%3ARock to see if your bug or enhancement is already reported?
- Can you reproduce the problem on a fresh install or the demo site?
- Did you include your Rock version number and client culture setting?
A Picture Is worth a Thousand Words
Description
If a user uploads a file with an ampersand in the file name (e.g. Sermon1_Look&See_GrowStudents.pdf
), then the file cannot be displayed/read from the server, resulting in the above error screenshot.
Steps to Reproduce
- Upload a PDF or JPG file with an ampersand in the file name.
- Once uploaded, try to download the file.
- Error will be given.
- This is happening on our server and the RockSolidDemo server.
Expected behavior:
The file can be seen/downloaded.
Actual behavior:
Error screen is displayed.
Versions
- Rock Version: Rock McKinley 12.3 (1.12.3.1)
- Client Culture Setting: en-US