[wp-trac] [WordPress Trac] #32746: Media Upload mimeType validation bug
WordPress Trac
noreply at wordpress.org
Tue Jun 23 19:06:54 UTC 2015
#32746: Media Upload mimeType validation bug
--------------------------+-------------------------
Reporter: vivekbhusal | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.3
Component: Media | Version: 4.2.2
Severity: normal | Resolution:
Keywords: needs-patch | Focuses: javascript
--------------------------+-------------------------
Comment (by wonderboymusic):
Actually, `indexOf` is polymorphic, so the original issue is that an array
of full mime-types was passed to `type`, it was looking for an abbreviated
type in a list of full types.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/32746#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list