Problems with Firefox Problems with Firefox
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Problems with Firefox

Started by blazer380, April 08, 2005, 04:41:06 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

blazer380

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?

blazer380

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.

Vortex_ICS

did somebody get this working ??  ???

Casper

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.
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here