Closed (works as designed)
Project:
Webform
Version:
7.x-3.13
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
7 Dec 2011 at 21:17 UTC
Updated:
8 Dec 2011 at 06:03 UTC
When uploading a file using the file upload form component, the upload fails with any file that has a filename that has is entirely non-English characters (e.g. Chinese). An example error message is " For security reasons, your upload has been renamed to docx.."
One possible solution to this problem might be to support tokens in the file upload directory and create a file name that also supports tokens. There is a feature request already in for tokens in file upload directories here #1340816: Token usage with Upload Directory.
If I am misunderstanding something, please feel free to let me know!
Comments
Comment #1
quicksketchWebform tries to use "safe" characters in uploaded files, but if you have http://drupal.org/project/transliteration installed it will do a much better job. You might try installing that module and see if it helps with the problem.
Comment #2
njcheng commentedAh! That definitely has the desired effect in this particular case. Would be nice if there were some additional options at some point though I'm guessing that would be part of core's file handling options. Thanks so much!