Hi

I'm having problems with securepages and downloading files when private downloads is enabled.

The issue comes when the file contains spaces in the name (and I know that shouldn't happen, but there is nothing I can do about it, site is not under my full control) so lets say we have this path

www.example.com/system/files/private/path/to/file with spaces.doc

if the file is requested over http:// all good. But if the files is requested over https, securepages redirects the call to http and I get a 404.

The solution was to set system/files/* as an ignore path in securepages settings, but that is a very very bad solution because encrypting all the files is a real waste of CPU.

Right now I have little time go ahead and try to come with a patch. Will do once I find some. :(

Until then I just report it here in case someone else has the time to work on it.

Cheers

Comments

jm.federico’s picture

Title: 404 on urls with spaces » 404 on files with spaces in name

hum, changed title.

jm.federico’s picture

Status: Active » Closed (won't fix)

mmm, closing because it is old as and seems just like noise now.