Ticket #941 (new defect)
Inconsistency behavior in the uploader with Arabic file names
| Reported by: | mamouneyya | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | 3.2 |
| Version: | GIT HEAD | Keywords: | i18n l10n arabic uploadify |
| Cc: | floridave |
Description
The uploader of the latest development release wasn't allowing to upload some of my Gallery-supported photos/movies with Arabic names. They were appearing in gray/un-clickable way in the browsing window. However, I noticed that that was not *always* true with Arabic named files, as I indeed could upload some of them. So, I've made some trials trying to get a rule for this.
These are the strange results I got: (I can confirm these for Arabic)
- If you insert any English letter in the file's name, the uploader will allow to upload it. (i.e 'سي.jpg' is not allowed, while 'سي e.jpg' is.)
- If you increased the file name's length by more of the non-English language characters (yes, even characters such the Unicode Arabic comma '،' will do this), the uploader will allow to upload the file. I didn't get a fixed number for the characters, but it's almost more than '27' characters.. sometimes '28', sometimes more. (i.e 'إنشــــــــــــــــــــــاء.jpg' and '،،،،،،،،،،،،،،،،،،،،،،،،،،،،.png' are allowed, while if you delete one or more characters from any of them, they will be not.)
If that was the case for all non-English names too, then I propose a simple workaround for this by adding an 'English letter' before any non-English file's name. Or you can simply replace that flash-based uploader by something else, so I can use Gallery 3 on my password-protected site (I'm talking about #703) (smile).