[wp-trac] [WordPress Trac] #30495: Unicode character U+000B is not removed by sanitize_file_name

WordPress Trac noreply at wordpress.org
Thu Jun 18 00:22:55 UTC 2015


#30495: Unicode character U+000B is not removed by sanitize_file_name
------------------------------------------+------------------------------
 Reporter:  Craxic                        |       Owner:
     Type:  defect (bug)                  |      Status:  new
 Priority:  normal                        |   Milestone:  Awaiting Review
Component:  Formatting                    |     Version:  4.0.1
 Severity:  normal                        |  Resolution:
 Keywords:  needs-patch needs-unit-tests  |     Focuses:
------------------------------------------+------------------------------
Changes (by jorbin):

 * keywords:   => needs-patch needs-unit-tests
 * component:  Filesystem API => Formatting


Comment:

 There might be a benefit in a check inside sanitize_file_name to remove
 everything that matches [:space:].  This is going to need both unit tests
 and a patch to move forward.

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


More information about the wp-trac mailing list