[wp-trac] [WordPress Trac] #25463: Bug in media uploader: filenames containing %20 does not get sanitized

WordPress Trac noreply at wordpress.org
Tue Oct 1 20:23:47 UTC 2013


#25463: Bug in media uploader: filenames containing %20 does not get sanitized
--------------------------+-----------------------------
 Reporter:  chriswoodley  |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  3.6.1
 Severity:  normal        |   Keywords:  needs-testing
--------------------------+-----------------------------
 On my server, I uploaded a file with a space in the filename and WordPress
 or Gravity Forms made it safe by converting the space into a hyphen, like
 a permalink. That image I could download just fine.

 I then uploaded a file with a %20 in the filename (instead of the space)
 and that filename was left alone, and stored on the server with that name
 (with the %20 in it) and I could not access that file by URL with or
 without the %20 in it (either with a space or a %20.)

 Then I uploaded an image with the WordPress media manager with the %20 in
 the filename, and it too is not accessible by URL with the %20 in it. It
 appears that WordPress does not convert the %20.

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


More information about the wp-trac mailing list