Closed (duplicate)
Project:
Drupal core
Version:
7.x-dev
Component:
file system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
27 Sep 2010 at 12:38 UTC
Updated:
4 Jan 2011 at 06:03 UTC
Since I uploaded files named with my native language, such as file "文件名.jpg", the file's name was changed to "jpg.", no extension name but wrong filename available, and an error occurred.
For security reasons, your upload has been renamed to jpg..
Error message
The specified file jpg. could not be uploaded. Only files with the following extensions are allowed:...
Comments
Comment #1
droplet commented#278425: Using basename() is not locale safe