[wp-trac] [WordPress Trac] #40101: URGENT: Cannot upload WOFF files, we need this functionality back ASAP

WordPress Trac noreply at wordpress.org
Fri Mar 10 21:21:18 UTC 2017


#40101: URGENT: Cannot upload WOFF files, we need this functionality back ASAP
--------------------------+-----------------------------
 Reporter:  eddiemcham    |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Upload        |    Version:  4.7.3
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 This is a follow-up to #39550.

 Our team develops fonts and scripting behavior for minority languages, and
 we have a WP multisite in which we heavily use and render WOFF files. To
 facilitate this, I have not only specified WOFF as an acceptable file type
 in the multisite settings page, but implemented `upload_mimes` for
 `application/x-font-woff`.

 Today, a coworker informs me she can no longer upload WOFFs to her Media
 Library. She is told ''Sorry, due to security restrictions, this file
 cannot be uploaded.'' What's weird is I was able to do so, but her page
 does not recognize it; it throws an error message treating the WOFF as a
 missing file.

 I found this thread from a Google search and see that apparently something
 regarding mime-types has recently changed. It wasn't clear to me from
 reading the thread what the fix was. I saw references to a plugin, but I
 really don't like the idea of having to slap on another plugin just to fix
 a WP code bug. We are deliberately trying to keep our plugin usage to a
 minimum to avoid possible incompatibilities between them. Nor can we
 downgrade to earlier WP versions because of security issues in the
 previous dot-dot releases.

 I've attached one of our WOFF files that was uploaded on June 22, 2016 and
 worked fine then. Now, if we try re-uploading that same file to the Media
 Library, it fails. So we know it's not an issue with the WOFF file itself.

 As this is a critical feature on our Arabic-language sites, I do need to
 request that this be made a high-priority issue. Thank you.

 ~ Eddie McHam

--
Ticket URL: <https://core.trac.wordpress.org/ticket/40101>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list