[wp-trac] [WordPress Trac] #5826: uploader can't handle filename with non-english characters

WordPress Trac wp-trac at lists.automattic.com
Tue Feb 12 06:25:46 GMT 2008


#5826: uploader can't handle filename with non-english characters
----------------------------+-----------------------------------------------
 Reporter:  gamerhk         |       Owner:  anonymous            
     Type:  defect          |      Status:  new                  
 Priority:  normal          |   Milestone:  2.3.4                
Component:  Administration  |     Version:  2.3.3                
 Severity:  normal          |    Keywords:  upload, filename, 404
----------------------------+-----------------------------------------------
 When i upload a file with chinese filename (圖像006.jpg), the file is saved
 as
 {{{
 %e5%9c%96%e5%83%8f066.jpg
 }}}
 in the file system.

 However, when wordpress tries to load the pic, it shows the image as
 {{{
 http://mydomain/path/%e5%9c%96%e5%83%8f066.jpg
 }}}
 rather than
 {{{
 http://mydomain/path/%25e5%259c%2596%25e5%2583%258f066.jpg
 }}}
 which causes a 404

-- 
Ticket URL: <http://trac.wordpress.org/ticket/5826>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list