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

WordPress Trac noreply at wordpress.org
Wed Nov 27 11:40:01 UTC 2013


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

Comment (by cristovaov):

 hi, I've been following this ticket and previously plugged patch 22363.2
 (http://wp.me/KmdR)
 Trying to apply patch 22363.8 also as a plugin but my technical knowledge
 is rather limited: getting 'Fatal error: Cannot redeclare
 sanitize_file_name()'

 Could someone have a look? I've put my code as a gist here:
 https://gist.github.com/cristovaov/7674225   --thanks

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


More information about the wp-trac mailing list