The core function file_validate_extensions() parses file names in the assumption that the extension is the LTR suffix http://api.drupal.org/api/drupal/includes--file.inc/function/file_validate_extensions/6
The LTR suffix convention is widely used and important for security reasons. There doesn't appear to be a clear solution aside from removing filename extension limitations (a possible security vulnerability) or renaming your files. On Wed, Nov 3, 2010 at 8:24 AM, Ivan Rocha <[email protected]> wrote: > Hi, > > I am in trouble with uploading images that have arabic names. I think > Drupal try to match the wrongly the three last characters os the image's > name. As an arabic name has the RTL write form, the 'jpg' is in the left > side. Drupal says that "The select file jpg, could not be uploaded. Only > files with the following extensions are allowed: png, gif, jpg, jpeg". I > have searched the web, but didn't find issues about this question. > > I would like some help about how I can proceed to solve this problem. > Bellow is an attach image containing the error and the image's name. > > Regards, > Ivan. > > -- > Ivan Rocha > >
