diff options
author | Andreas Gohr <andi@splitbrain.org> | 2006-11-01 17:18:13 +0100 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2006-11-01 17:18:13 +0100 |
commit | e8b3027e5aab23e5e0eb36c6ac92d806b6fd49d4 (patch) | |
tree | 0997c942f0df4e03624ebb2c39ed104481f19225 /conf/mime.conf | |
parent | 92fa0daed34116e514ddc12495bdbd173342450c (diff) | |
download | rpg-e8b3027e5aab23e5e0eb36c6ac92d806b6fd49d4.tar.gz rpg-e8b3027e5aab23e5e0eb36c6ac92d806b6fd49d4.tar.bz2 |
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
Diffstat (limited to 'conf/mime.conf')
-rw-r--r-- | conf/mime.conf | 7 |
1 files 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 |