Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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.
Comment | File | Size | Author |
---|---|---|---|
#1 | feeds_imagegrabber-filenames_with_spaces-1779718-1.patch | 870 bytes | rooby |
Comments
Comment #1
rooby CreditAttribution: rooby commentedIt 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.
Comment #2
rooby CreditAttribution: rooby commentedComment #3
rooby CreditAttribution: rooby commentedThis 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