summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--conf/mime.conf7
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