[wp-trac] [WordPress Trac] #45615: CSV Mime Type fails upload
WordPress Trac
noreply at wordpress.org
Wed Feb 27 20:08:06 UTC 2019
#45615: CSV Mime Type fails upload
----------------------------+------------------------
Reporter: Kloon | Owner: joemcgill
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 5.0.3
Component: Upload | Version: 5.0.1
Severity: major | Resolution: fixed
Keywords: has-unit-tests | Focuses:
----------------------------+------------------------
Comment (by sporkme):
Replying to [ticket:45615 Kloon]:
> CSV is an allowed upload type, however since WP 5.0.1 the mime type is
now checked against the file. CSV files can however have text/csv as well
as text/plain mime types, WP only caters for the first.
What is the status of this bug in relation to adding a filter for
additional mime types? We're on 5.0.3 and we add .dwg and .skp files and
these are still failing. New ticket for each mime-type now or what? Is
there a way to easily see what mime type WP thinks it's seeing? It would
be nice if the mime type were shown to the user in the error message...
--
Ticket URL: <https://core.trac.wordpress.org/ticket/45615#comment:62>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list