redbox-mint / redbox

http://www.redboxresearchdata.com.au
GNU General Public License v2.0
5 stars 10 forks source link

Attachment problems if file name contains certain characters #29

Open marianneb opened 11 years ago

marianneb commented 11 years ago

If a file is attached to a metadata record and the name of the file contains a "+" or the character sequence "%20" then the file can not be accessed again via the ReDBox web interface - an object not found error will occur. (e.g. Filenames like test+1.zip or test%20.zip will cause this problem.) The file exists on the filesystem and can be accessed from there without problem. I suspect that the "+" and "%20", which are url-encoding for a space character, are being unencoded by the webserver and so the request is being processed for test 1.zip instead of test+1.zip.

Screen Shot 2013-02-13 at 2 37 56 PM

Screen Shot 2013-02-13 at 2 38 46 PM