[wp-trac] [WordPress Trac] #39552: SVG upload support broken in 4.7.1

WordPress Trac noreply at wordpress.org
Mon Feb 27 19:27:59 UTC 2017


#39552: SVG upload support broken in 4.7.1
----------------------------------------+------------------------
 Reporter:  freakpants                  |       Owner:  joemcgill
     Type:  defect (bug)                |      Status:  closed
 Priority:  normal                      |   Milestone:  4.7.3
Component:  Upload                      |     Version:  trunk
 Severity:  normal                      |  Resolution:  fixed
 Keywords:  needs-unit-tests has-patch  |     Focuses:
----------------------------------------+------------------------

Comment (by joemcgill):

 In [changeset:"40134"]:
 {{{
 #!CommitTicketReference repository="" revision="40134"
 Media: Reduce failing uploads following 4.7.1.

 [39831] introduced more strict MIME type checking for uploads, which
 resulted in unintetionally blocking several filetypes that were
 previously valid. This change uses a more targeted approach to MIME
 validation to restore previous behavior for most types.

 Props blobfolio, iandunn, ipstenu, markoheijnen, xknown, joemcgill.
 Merges [40124] and [40125] to the 4.7 branch.
 Fixes #39550, #39552.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/39552#comment:37>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list