Closed (outdated)
Project:
Drupal core
Version:
6.16
Component:
system.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
18 Mar 2010 at 05:53 UTC
Updated:
2 Mar 2016 at 22:18 UTC
Jump to comment: Most recent
Comments
Comment #1
Trejkaz commentedI was missing Results point 4, which is that the end result is a 404 as it cannot find a file with the space in the name (it doesn't exist .. obviously.)
Comment #2
Trejkaz commentedI just did the test on a file test#file.txt -- in this situation Drupal generates: /system/files/test%2523file.txt
It should only need to be /system/files/test%23file.txt - but this double-escaping turns out to work because of the double-unescaping when it receives the request from the user. For whatever reason the + sign is not *double*-escaped, which is why it isn't working.
Comment #3
Trejkaz commentedWe're on Drupal 7 now and using directory listing for file downloads now. One of these two things has fixed the issue for us but I'm not sure which.