[wp-trac] [WordPress Trac] #50231: Add missing characters in `$special_chars` array in `sanitize_file_name()` function

WordPress Trac noreply at wordpress.org
Fri Jul 24 00:57:40 UTC 2020


#50231: Add missing characters in `$special_chars` array in `sanitize_file_name()`
function
--------------------------+-----------------------------
 Reporter:  audrasjb      |       Owner:  SergeyBiryukov
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  5.5
Component:  Media         |     Version:
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |     Focuses:
--------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * owner:  (none) => SergeyBiryukov
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"48596" 48596]:
 {{{
 #!CommitTicketReference repository="" revision="48596"
 Media: Filter out a few more special characters in `sanitize_file_name()`.

 Props audrasjb.
 Fixes #50231.
 }}}

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


More information about the wp-trac mailing list