[wp-trac] [WordPress Trac] #17855: Allow plus '+' character when sanitizing mime type

WordPress Trac wp-trac at lists.automattic.com
Mon Jun 20 18:41:29 UTC 2011


#17855: Allow plus '+' character when sanitizing mime type
--------------------------+------------------------------------
 Reporter:  cyberhobo     |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Upload        |    Version:  3.2
 Severity:  normal        |   Keywords:  has-patch dev-feedback
--------------------------+------------------------------------
 The case that breaks for me is uploading KML with mime type
 `application/vnd.google-earth.kml+xml`, which was saved correctly in
 previous versions but is now saved as `application/vnd.google-
 earth.kmlxml`. My patch fixes that.

 References:
  * [http://code.google.com/apis/kml/documentation/kml_tut.html#kml_server
 Google's KML Mime Type spec]
  * [http://www.rfc-editor.org/rfc/rfc3023.txt an RFC mentioning the +xml
 mime suffix]

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


More information about the wp-trac mailing list