forum.coppermine-gallery.net

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Miscellaneous => Topic started by: kehbop on December 19, 2005, 06:31:39 am

Title: Not allow uploads with spaces
Post by: kehbop 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)
Title: Re: Not allow uploads with spaces
Post by: artistsinhawaii 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
Title: Re: Not allow uploads with spaces
Post by: Joachim Müller on December 19, 2005, 09:22:08 am
in cpg1.3.x, add a space to "Characters forbidden in filenames" in coppermine's config
Title: Re: Not allow uploads with spaces
Post by: kehbop on December 20, 2005, 03:53:23 am
thank you!