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

WordPress Trac noreply at wordpress.org
Fri Jul 24 08:05: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 nilovelez):

 {{{22363.4.diff}}} is more than enough for most cases. It uses the san
 function that convert a post title into a slug.

 It doesn't address every single use case, but it is a huge step forward
 and it is a completely safe fix.

 I propose to include this patch in WP 5.5, close the ticket and create a
 new one to study if it is possible to address special cases.

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


More information about the wp-trac mailing list