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

WordPress Trac noreply at wordpress.org
Thu Jan 10 14:09:51 UTC 2013


#22363: Accents in attachment filenames should be sanitized
--------------------------+------------------
 Reporter:  tar.gz        |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  3.6
Component:  Upload        |     Version:  3.4
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+------------------
Changes (by SergeyBiryukov):

 * keywords:   => has-patch
 * milestone:  Awaiting Review => 3.6


Comment:

 [attachment:22363.patch] calls `remove_accents()` in
 `sanitize_file_name()`, like we do in `sanitize_title()`.

 [attachment:22363.2.patch] adds it as a filter instead.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/22363#comment:10>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list