Closed (fixed)
Project:
FileField Sources
Version:
6.x-1.1
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
29 Apr 2010 at 05:56 UTC
Updated:
23 Aug 2010 at 05:30 UTC
I'm using the remote transfer feature of FileField Sources in combination with ImageField, ImageCache and Transliteration.
My problem is that files uploaded with remote transfer apparently don't get passed to Transliteration. This causes problems with ImageCache, which can't handle characters like plus signs in file names.
Steps to reproduce:
Expected results:
Image filename is transliterated with Transliteration module into ab.jpg. Thumbnail is visible.
Actual results:
Imagecache is unable to display thumbnail because of plus sign in filename.
Comments
Comment #1
quicksketchThanks for the report. Transliteration works by checking the $_FILES array for newly uploaded files and then cleans them up before they are ever saved by Drupal. In the case of remote files however, the $_FILES array is never used, so transliteration doesn't know a new file has been created. So in this case, we'll need to manually check if transliteration module is installed, then request it clean up the name for us. It *is* an oversight on the remote file handling, but one more of omission rather than error.
Comment #2
quicksketchSince Transliteration was included for local files in #438940: Add ability to use file uploaded via FTP, I included the addition of transliteration for remote files in that issue also.