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

WordPress Trac noreply at wordpress.org
Fri Jul 24 18:02:03 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:"48603" 48603]:
 {{{
 #!CommitTicketReference repository="" revision="48603"
 Media: Remove accents in `sanitize_file_name()`.

 This brings some consistency with `sanitize_title()` and
 `sanitize_user()`.

 Props tar.gz, NumidWasNotAvailable, juliobox, p_enrique, cristovaov,
 zodiac1978, mikeschroder, markoheijnen, chriscct7, swissspidy,
 DrProtocols, pento, gitlost, joemcgill, dustinbolton, programmin, Vayu,
 MaximeCulea, lucasbustamante, nilovelez, RavanH, audrasjb, SergeyBiryukov.
 See #22363.
 }}}

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


More information about the wp-trac mailing list