From e8b3027e5aab23e5e0eb36c6ac92d806b6fd49d4 Mon Sep 17 00:00:00 2001 From: Andreas Gohr Date: Wed, 1 Nov 2006 17:18:13 +0100 Subject: disable HTML upload by default Spammers use unprotected wikis to upload spammy HTML pages. This disables HTML upload by default darcs-hash:20061101161813-7ad00-11c808965ef80bd042ea3e3586352cfdccb309db.gz --- conf/mime.conf | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/conf/mime.conf b/conf/mime.conf index 7639f3ab2..90356ff04 100644 --- a/conf/mime.conf +++ b/conf/mime.conf @@ -10,8 +10,6 @@ gz application/octet-stream zip application/zip pdf application/pdf txt text/plain -html text/html -htm text/html ps application/postscript doc application/msword xls application/msexcel @@ -20,6 +18,11 @@ rtf application/msword xml text/xml swf application/x-shockwave-flash +# You should enable HTML uploads only for restricted Wikis. +# Spammers are known to upload spam pages through unprotected Wikis. +#html text/html +#htm text/html + rpm application/octet-stream deb application/octet-stream conf text/plain -- cgit v1.2.3