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

WordPress Trac noreply at wordpress.org
Sat Feb 6 18:11:30 UTC 2016


#22363: Accents in attachment filenames should be sanitized
----------------------------------------+-----------------------------
 Reporter:  tar.gz                      |       Owner:
     Type:  defect (bug)                |      Status:  new
 Priority:  normal                      |   Milestone:  Future Release
Component:  Upload                      |     Version:  3.4
 Severity:  normal                      |  Resolution:
 Keywords:  needs-testing dev-feedback  |     Focuses:
----------------------------------------+-----------------------------
Changes (by markoheijnen):

 * keywords:  needs-testing dev-feedback needs-refresh => needs-testing dev-
     feedback


Comment:

 I have updated it and changed some tests.

 The filter `sanitize_file_name_chars` is almost not needed anymore with
 PCRE. The moment PCRE isn't available a lot of things still need to
 cleaned up. I assume this is a bug because output should always be the
 same (or close enough).

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


More information about the wp-trac mailing list