jQuery-File-Upload
jQuery-File-Upload copied to clipboard
Filenames starting with # cannot be uploaded on Chrome 31 on Linux
When I add files starting with a # as the first character of the file name, it comes up with %23 instead of the # in the file queue.
It then shows the file is 0 bytes as well.
%23 is the urlencoding of the # character.
However it's not necessary to encode this character when displaying the name in the upload or download template and it shouldn't have any effect on the file size calculation or display.
In my local tests as well as on the demo I could not reproduce this issue, files named like this can be uploaded and display properly. However I've only tested this with Chrome on OSX, so there might be browser/OS specific issues with other combinations.
You are right, it seems to be a browser issue.
Using Chrome 31 on Linux produces the bug, but Firefox 26 on Linux does not have the problem.
Also I noticed it ONLY does it in Chrome if you add multiple files at once, and some of these files start with a #
If you add just one file that starts with a # in chrome, it works fine and doesn't produce the bug.
Firefox on the other hand has no problems adding multiple files, if some start with a #
Thanks for providing further information. I'll reopen this and mark it as a browser bug.
You might want to create a reduced test case and report it to the Chromium developers.