Advanced search  

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

Pages: [1]   Go Down

Author Topic: Not allow uploads with spaces  (Read 3231 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.017 seconds with 19 queries.