forum.coppermine-gallery.net
Support => cpg1.3.x Support => Older/other versions => cpg1.3 Miscellaneous => Topic started by: blazer380 on April 08, 2005, 04:41:06 am
-
Whenever I have a file that has spaces in it. And you click on 'Click Here to Download', it only tries to save everything before the space, so inevitably the extension doesnt get saved. It works fine in IE. Anything I can change in the code to let firefox recognize the spaces?
Maybe replacing htmlspecialchars with rawurlencode
If thats what I need to change, which file do I need to edit?
-
i tried replacing in displayimage.php:
download.php?pid={$CURRENT_PIC_DATA['pid']}\">Click here to download</a>
with
download.php?pid={rawurlencode($CURRENT_PIC_DATA['pid'])}\">Click here to download</a>
but i get a parse error.
-
did somebody get this working ?? ???
-
This is actually a mod you have added, and this should be on the thread dealing with that mod.
But you should always try to avoid having spaces in filenames and folders.