[wp-trac] [WordPress Trac] #40101: Cannot upload WOFF files (unless you're a multisite super-admin?)
WordPress Trac
noreply at wordpress.org
Fri Mar 17 13:21:49 UTC 2017
#40101: Cannot upload WOFF files (unless you're a multisite super-admin?)
--------------------------+------------------------
Reporter: eddiemcham | Owner:
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 4.7.4
Component: Upload | Version: 4.7.3
Severity: blocker | Resolution: duplicate
Keywords: | Focuses:
--------------------------+------------------------
Comment (by joemcgill):
Replying to [comment:20 eddiemcham]:
> I'm not sure the MIME type is the issue now, so much as my colleague's
Admin role no longer letting her upload her WOFFs.
Hi @eddiemcham. Following up, this is definitely a MIME issue. As others
have indicated, the problem is the way WordPress is verifying that the
uploaded file really is what it claims to be. If the specific server isn't
able to verify that the file is a WOFF file, it will respond with
`application/octet-stream` (a common default when the filetype is unknown
to your server). Users without super-admin privileges are not able to
upload `application/octet-stream` files on multi-site, which is why this
is failing for your colleague.
There are several related cases of this sort of thing happening in
different configurations so combining this conversation in #40175 will
help us address all cases.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/40101#comment:23>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list