Closed (won't fix)
Project:
Drupal core
Version:
5.1
Component:
upload.module
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
5 Mar 2007 at 01:39 UTC
Updated:
5 Mar 2007 at 07:53 UTC
worked in 4.7.
in 5.1 when upload a file like 中文.doc, the file url change to http://www.foo.com/files/DOC and description is DOC,
in 4.7 it will be http://www.foo.com/files/中文.doc with 中文.doc as description.
Comments
Comment #1
oscnet commentedI had found it is because of php function basename
basename('中文.doc') return .doc
PHP version :
5.1.6
os windows.
also had tested under linux. it worked well.
Comment #2
oscnet commented