Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: HTML Upload  (Read 2078 times)

0 Members and 1 Guest are viewing this topic.

cooly29129

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
HTML Upload
« 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?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: HTML Upload
« Reply #1 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.
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 19 queries.