Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Problems with Firefox  (Read 2875 times)

0 Members and 1 Guest are viewing this topic.

blazer380

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 40
Problems with Firefox
« 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?
Logged

blazer380

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 40
Re: Problems with Firefox
« Reply #1 on: April 08, 2005, 04:54:40 am »

i tried replacing in displayimage.php:

Code: [Select]
download.php?pid={$CURRENT_PIC_DATA['pid']}\">Click here to download</a>
with

Code: [Select]
download.php?pid={rawurlencode($CURRENT_PIC_DATA['pid'])}\">Click here to download</a>
but i get a parse error.
Logged

Vortex_ICS

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: Problems with Firefox
« Reply #2 on: April 28, 2005, 04:19:07 am »

did somebody get this working ??  ???
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: Problems with Firefox
« Reply #3 on: April 28, 2005, 12:10:08 pm »

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.
Logged
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
Pages: [1]   Go Up
 

Page created in 0.162 seconds with 19 queries.