[wp-trac] [WordPress Trac] #39550: Some Non-image files fail to upload after 4.7.1
WordPress Trac
noreply at wordpress.org
Thu Jan 12 22:07:54 UTC 2017
#39550: Some Non-image files fail to upload after 4.7.1
---------------------------+------------------------
Reporter: greatislander | Owner: joemcgill
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: 4.7.2
Component: Upload | Version: trunk
Severity: normal | Resolution:
Keywords: needs-patch | Focuses:
---------------------------+------------------------
Comment (by emtatech):
From what we've discovered with this bug, uploads seems to add a "x-" in
the filetype which then is rejected as it does not match the original file
type.
Example:
Uploaded a "audio/wav"
After upload, PHP reports type is set to "audio/x-wav"
Miss match, thus fails.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39550#comment:24>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list