[wp-trac] [WordPress Trac] #39550: Some Non-image files fail to upload after 4.7.1
WordPress Trac
noreply at wordpress.org
Fri Jan 13 18:41:51 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 mensmaximus):
Replying to [comment:44 Ipstenu]:
> The array idea @mensmaximus pitched is a good idea I think, but we have
to make sure it'll support the existing way of adding new mimes to the
okay list.
After a second look I am not sure we will gain much from storing multiple
mime types for an extension. If every file will fall back to application
/octet-stream in case it reports no proper mime type we would have to
allow application/octet-stream for any and all allowed extensions.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39550#comment:46>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list