Not allow uploads with spaces Not allow uploads with spaces
 

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]

Main Menu

Not allow uploads with spaces

Started by kehbop, December 19, 2005, 06:31:39 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

kehbop

Is it possible not to allow uploads with spaces?

(example: george jungle.gif would not be a valid file name to upload)

artistsinhawaii

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
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

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

kehbop