Comment 1 for bug 1578512

Revision history for this message
Aaron Wells (u-aaronw) wrote :

To replicate:

1. Go to File -> Contents
2. Upload a file called test.txt
3. Once uploaded, click the pencil icon to edit test.txt
4. Change its name to t"est.txt (or something else with double quotes in or around it). Press "Save changes"
5. Click on the title of the file, to trigger a download

Expected result: The browser offers to download a file called t"est.txt

Actual result: The browser offers to download a file called t, or whatever portion of the filename preceeds the first double quote. If the first character in the filename is a double quote, the browser offers to download a file called "download.php".