If the user wants to upload a file, and the file has an ampersand '&' in the filename, the upload will fail silently.
Tested on a CentOS 6 server running Apache/PHP/MySQL, on Safari, Firefox and Chrome.
Good spot!
I've found the problem. It's this line in fileupload.js:
if (StoredFilename != Filename) return;
The problem is one of these vars contains escaped ampersands and the other doesn't. Replace the line with:
if (StoredFilename.replace(/&/g,"&") != Filename) return;
Comments
Good spot!
I've found the problem. It's this line in fileupload.js:
if (StoredFilename != Filename) return;
The problem is one of these vars contains escaped ampersands and the other doesn't. Replace the line with:
if (StoredFilename.replace(/&/g,"&") != Filename) return;