[wp-trac] [WordPress Trac] #16191: Uploaded files with quote marks in the filename are undisplayable in MS

WordPress Trac wp-trac at lists.automattic.com
Fri Jan 14 01:29:20 UTC 2011


#16191: Uploaded files with quote marks in the filename are undisplayable in MS
-------------------------------------+-----------------------------
 Reporter:  simonwheatley            |       Owner:
     Type:  defect (bug)             |      Status:  reopened
 Priority:  normal                   |   Milestone:  Future Release
Component:  Upload                   |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch, dev-feedback  |
-------------------------------------+-----------------------------

Comment (by mdawaffe):

 This looks like a WebKit bug that we can't work around.

 I have a file named {{{z"d%22e.jpg}}}.

 Uploading from FF:

 {{{
 -----------------------------178448449274243042114807987
 Content-Disposition: form-data; name="async-upload";
 filename="z"d%22e.jpg"
 Content-Type: image/jpeg
 }}}

 Uploading from Chrome:

 {{{
 ------WebKitFormBoundaryAUCJ2qQRMOXB3IQL
 Content-Disposition: form-data; name="async-upload";
 filename="z%22d%22e.jpg"
 Content-Type: image/jpeg
 }}}

 Chrome is clearly doing things wrong.  FF works, but I would have thought
 the double quote should have been slashed.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/16191#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list