[wp-trac] [WordPress Trac] #15955: move_uploaded_file mangles non-ascii characters on Windows platforms

WordPress Trac wp-trac at lists.automattic.com
Mon Jan 10 16:28:26 UTC 2011


#15955: move_uploaded_file mangles non-ascii characters on Windows platforms
-------------------------------------+------------------------------
 Reporter:  t31os_                   |       Owner:
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  Awaiting Review
Component:  Upload                   |     Version:  3.0.3
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |
-------------------------------------+------------------------------

Comment (by SergeyBiryukov):

 There's actually no problem with regular characters, just with some
 special ones, I guess. Since we already have `remove_accents()` in
 `sanitize_title()`, perhaps we can use something similar in
 `sanitize_file_name()` too.

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


More information about the wp-trac mailing list