Not allow uploads with spaces Not allow uploads with spaces
 

News:

CPG Release 1.6.28
added submissions from {406man}
cleaned up a few PHP (8.4) deprecations
fixed PHP deprecation in calendar
removed security vulnerability
(please upgrade when possible)

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