#17855 closed defect (bug) (fixed)
Allow plus '+' character when sanitizing mime type
Reported by: | cyberhobo | Owned by: | ryan |
---|---|---|---|
Milestone: | 3.1.4 | Priority: | normal |
Severity: | normal | Version: | 3.2 |
Component: | Upload | Keywords: | has-patch dev-feedback |
Focuses: | Cc: |
Description
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:
Attachments (1)
Change History (6)
Note: See
TracTickets for help on using
tickets.
Added some quick unit tests for common mime types.
http://unit-tests.trac.wordpress.org/changeset/372