Media Uploader doesn't escape "+" in filenames and doesn't upload file
|Reported by:||devinreams||Owned by:|
I downloaded a photo this morning with filename Screenshot+2012-12-07+at+08.55.33.png — when I upload it in the WordPress media uploader it acts like its uploading (progress bar, crunching) but then shows a broken image as the result.
- Upload media with "+" in filename
- Observe progress bar uploading and complete the upload
Expected: file is uploaded A-OK to server, attachment created, image loads as expected.
Actual: no file is stored in uploads (or blogs.dir/files) directory, attachment is still created, no error, file does not exist.
FWIW the filename that WordPress expects to have uploaded is /2012/12/Screenshot+2012-12-07+at+08.55.33-150x150.png
I'm on Media Temple, running trunk as of this morning. Not sure if a regression, specific to my server configuration, etc. so more testing here would be appreciated.