[wp-trac] [WordPress Trac] #22813: Media Uploader doesn't escape "+" in filenames and doesn't upload file

WordPress Trac noreply at wordpress.org
Fri Dec 7 16:02:27 UTC 2012


#22813: Media Uploader doesn't escape "+" in filenames and doesn't upload file
-----------------------------+--------------------------
 Reporter:  devinreams       |       Type:  defect (bug)
   Status:  new              |   Priority:  normal
Milestone:  Awaiting Review  |  Component:  Media
  Version:  trunk            |   Severity:  normal
 Keywords:  needs-patch      |
-----------------------------+--------------------------
 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.

 1. Upload media with "+" in filename
 2. 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.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/22813>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list