When the image that gets imported has spaces in the file name they get imported and saved as HTML encoded characters.

So a file that is: "imported file.png" will be saved as "imported%20file.png".

This will generally be ok on linux systems but in windows systems (IIS at least, not sure about apache), later use of the image will not work properly.

It should be saved as it originally was and maybe even have an option to allow the admin to replace spaces with dashes or something.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

rooby’s picture

It seems that this module was working around a bug in the feeds module for importing files with spaces.

This feeds bug has now been fixed in feeds 7.x-2.0-alpha5.
The related issue was #686470: Filefield mapper: URLs with spaces not parsed properly

Now that that has been fixed, this module can be made to work properly with files that have spaces via this patch.

rooby’s picture

Status: Active » Needs review
rooby’s picture

Status: Needs review » Fixed

This has been committed.
People should use feeds 7.x-2.0-alpha5 or higher from now on.

http://drupalcode.org/project/feeds_imagegrabber.git/commit/af3db86

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.