[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 03:17:05 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):

 16191.diff is a Proof of Concept workaround for filenames with double
 quotes in them.

 1. Populate POST variable via JS with file's real name.
 2. Use wp_handle_upload_prefilter to fix the {{{$_FILES}}} item.

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


More information about the wp-trac mailing list