[wp-trac] [WordPress Trac] #16226: Attachment URL filenames are not urlencoded

WordPress Trac wp-trac at lists.automattic.com
Fri Jan 14 04:00:39 UTC 2011


#16226: Attachment URL filenames are not urlencoded
--------------------------+----------------------------
 Reporter:  mdawaffe      |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Future Release
Component:  Upload        |    Version:  3.1
 Severity:  normal        |   Keywords:  needs-patch
--------------------------+----------------------------
 In looking at #16191, I discovered a related bug.

 Upload a file called {{{a%22b.jpg}}}.  The file will be stored on the
 filesystem as {{{a%22b.jpg}}}, but the resulting attachment URL will be
 http://example.com/wp-content/uploads/2011/01/a%22b.jpg, which will point
 to a file named {{{a"b.jpg}}}.

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


More information about the wp-trac mailing list