Not allow uploads with spaces Not allow uploads with spaces
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

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