[support] File Upload With Spaces Not Always Handled Properly

Shai Gluskin shai at content2zero.com
Wed May 14 03:17:36 UTC 2008


Drupalers,

I went looking through my watchdog tonight (really should do that more) --
at: admin/logs/watchdog

and I noticed that there were some page not found errors for file downloads
like this:

File name is: example file.doc

The URL that works is:
example.com/files/example%20file.doc

The URL that is showing up on the watchdog page-not-found entry is:
example.com/files/example%2520file.doc

Testing from my own browsers I couldn't repeat the problem.

What browser or what situation is causing the space to be replaced by %2520
instead of %20? Has anyone ever seen this before? Is there a utility for the
upload module that rips out spaces from file names? I'm having a problem
with Thickbox having trouble with images with spaces in their names.

Looking forward to hear about others' experiences on this one.

Thanks,

Shai
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20080513/0ccb5e44/attachment.htm 


More information about the support mailing list