Closed (fixed)
Project:
FileField Sources
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
10 Jul 2009 at 20:17 UTC
Updated:
7 Mar 2010 at 04:50 UTC
Jump to comment: Most recent file
Comments
Comment #1
aaronbaumanremote.inc creates files with url-escaped characters in the filename, for example "Picture%201.png"
However, when the browser tries to access the URL at "http://example.com/sites/default/files/Picture%201.png", the web server interprets this as a request for the file "Picture 1.png", which does not exist. The proper URL to access the file would have to itself be urlescaped, e.g. "http://example.com/sites/default/files/Picture%25201.png"
The solution is to rawurldecode() the filename before creating the local file:
This is a very similar issue to #454478: The selected file could not be used because the file does not exist in the database.
I wonder if this will crop again for other sources...
Comment #2
quicksketchThanks committed.