From 26890ffb7807f55dc64188e3794adebf175d13ef Mon Sep 17 00:00:00 2001 From: Andreas Gohr Date: Sun, 11 Feb 2007 21:19:20 +0100 Subject: disable text uploads by default Spammers suck - see http://forum.dokuwiki.org/post/2213 darcs-hash:20070211201920-7ad00-0023501c73fece94effcc0efb2c0862c9f771bf2.gz --- conf/mime.conf | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/conf/mime.conf b/conf/mime.conf index 90356ff04..3dc560187 100644 --- a/conf/mime.conf +++ b/conf/mime.conf @@ -9,23 +9,23 @@ tar application/x-gtar gz application/octet-stream zip application/zip pdf application/pdf -txt text/plain ps application/postscript doc application/msword xls application/msexcel ppt application/mspowerpoint rtf application/msword -xml text/xml swf application/x-shockwave-flash -# You should enable HTML uploads only for restricted Wikis. +# You should enable HTML and Text uploads only for restricted Wikis. # Spammers are known to upload spam pages through unprotected Wikis. #html text/html #htm text/html +#txt text/plain +#conf text/plain +#xml text/xml rpm application/octet-stream deb application/octet-stream -conf text/plain sxw application/soffice sxc application/soffice -- cgit v1.2.3