[wp-trac] [WordPress Trac] #45615: CSV Mime Type fails upload
WordPress Trac
noreply at wordpress.org
Fri Jan 4 23:33:42 UTC 2019
#45615: CSV Mime Type fails upload
--------------------------------------+------------------------
Reporter: Kloon | Owner: joemcgill
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: 5.0.3
Component: Upload | Version: 5.0.1
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests | Focuses:
--------------------------------------+------------------------
Comment (by joemcgill):
Replying to [comment:34 tellyworth]:
The approach in [attachment:"45615.3.diff"] is ok for 5.0.3, and then we
can follow with a broader refactor to make this less "hacky" as you put
it. I don't think we should take this occasion to add support for .json
files, even though the workaround for #45633 is mildly annoying for now.
I've modified your approach slightly in that regard and to also add back
support for `vtt` files when they're reported as `text/plain` by the
server, which should fix #45622.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/45615#comment:36>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list