forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 upload => Topic started by: cooly29129 on April 08, 2007, 08:27:13 pm

Title: HTML Upload
Post by: cooly29129 on April 08, 2007, 08:27:13 pm
Hey, I've been using coppermine for a while now, as just a fanart gallery for my site. However, I recently discovered that you can upload more than just image files to it, so I would like it to also be a fanfic gallery as well.

It works just fine and everything, except it won't allow me to upload HTML/HTM documents. I changed the "Allowed Document Types" to include HTML, but it still won't let me upload HTML.

Any help?
Title: Re: HTML Upload
Post by: Joachim Müller on April 09, 2007, 09:34:38 am
Allowing HTML can have a security impact, that's why you can't use html out of the box. If you don't allow your users to upload files (only you as admin will be uploading at all), then you can the filetype html by running against the filetypes table. You have to understand that you can't add all filetypes in the world to the list of allowed filetypes, but only those that coppermine "knows".
Keep in mind that allowing html uploads for a community site is not a bright idea.