diff options
author | Andreas Gohr <andi@splitbrain.org> | 2007-02-11 21:19:20 +0100 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2007-02-11 21:19:20 +0100 |
commit | 26890ffb7807f55dc64188e3794adebf175d13ef (patch) | |
tree | dcf2c9fafd15d9ed460efe3382b36093335e8d52 /conf/mime.conf | |
parent | 71b40da27911263b852a9c60b0243b04e4802d08 (diff) | |
download | rpg-26890ffb7807f55dc64188e3794adebf175d13ef.tar.gz rpg-26890ffb7807f55dc64188e3794adebf175d13ef.tar.bz2 |
disable text uploads by default
Spammers suck - see http://forum.dokuwiki.org/post/2213
darcs-hash:20070211201920-7ad00-0023501c73fece94effcc0efb2c0862c9f771bf2.gz
Diffstat (limited to 'conf/mime.conf')
-rw-r--r-- | conf/mime.conf | 8 |
1 files 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 |