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

WordPress Trac noreply at wordpress.org
Mon Nov 18 23:43:25 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  |
-------------------------------------+------------------
Changes (by p_enrique):

 * keywords:  has-patch needs-unit-tests => has-patch needs-testing


Comment:

 I don't know if you're supposed to write unit tests for your own
 contributions, but I did anyway. Here they are. Please note that I
 modified one of the earlier tests since the earlier behaviour was to strip
 illegal characters, now they are replaced with dashes.

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


More information about the wp-trac mailing list