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: Not allow uploads with spaces  (Read 2959 times)

0 Members and 1 Guest are viewing this topic.

kehbop

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 52
Not allow uploads with spaces
« on: December 19, 2005, 06:31:39 am »

Is it possible not to allow uploads with spaces?

(example: george jungle.gif would not be a valid file name to upload)
« Last Edit: December 20, 2005, 09:27:05 am by GauGau »
Logged

artistsinhawaii

  • VIP
  • Coppermine addict
  • ***
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 856
    • evj art and photography
Re: Not allow uploads with spaces
« Reply #1 on: December 19, 2005, 06:34:22 am »

Kehbop,

In cpg 1.4.x those spaces are rewritten with underscores. So "george of the jungle.jpg" would become george_of_the_jungle.jpg.

Dennis
Logged
Learn and live ... In January of 2011, after a botched stent attempt, the doctors told me I needed a multiple bypass surgery or I could die.  I told them I needed new doctors.

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Not allow uploads with spaces
« Reply #2 on: December 19, 2005, 09:22:08 am »

in cpg1.3.x, add a space to "Characters forbidden in filenames" in coppermine's config
Logged

kehbop

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 52
Re: Not allow uploads with spaces
« Reply #3 on: December 20, 2005, 03:53:23 am »

thank you!
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 19 queries.