[wp-trac] [WordPress Trac] #22363: Accents in attachment filenames should be sanitized

WordPress Trac noreply at wordpress.org
Fri Jul 24 18:18:04 UTC 2020


#22363: Accents in attachment filenames should be sanitized
--------------------------------------+-----------------------------
 Reporter:  tar.gz                    |       Owner:  SergeyBiryukov
     Type:  defect (bug)              |      Status:  reviewing
 Priority:  normal                    |   Milestone:  5.5
Component:  Media                     |     Version:  3.4
 Severity:  critical                  |  Resolution:
 Keywords:  has-patch needs-dev-note  |     Focuses:
--------------------------------------+-----------------------------

Comment (by SergeyBiryukov):

 In [changeset:"48604" 48604]:
 {{{
 #!CommitTicketReference repository="" revision="48604"
 Tests: Update `wp_unique_filename()` unit tests to account for
 `sanitize_file_name()` removing accents.

 Follow-up to [48603].

 See #22363.
 }}}

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


More information about the wp-trac mailing list