Posted by oscnet on March 5, 2007 at 1:39am
Jump to:
| Project: | Drupal core |
| Version: | 5.1 |
| Component: | upload.module |
| Category: | bug report |
| Priority: | minor |
| Assigned: | Unassigned |
| Status: | closed (won't fix) |
Issue Summary
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
#1
I 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.
#2