summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSiri Reiter <siri@jones.dk>2013-12-02 23:47:33 +0100
committerSiri Reiter <siri@jones.dk>2013-12-02 23:47:33 +0100
commit7afe6826867d313b91ad3cbb825e2405304366e4 (patch)
treee42edd3e476888a5ca5fb477a80c8818305858fd
parentd06d944fedfd1ea1efee51ed08a1673549425613 (diff)
Drop MIME validation (currently broken).
-rw-r--r--config/ikiwiki.setup.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/config/ikiwiki.setup.in b/config/ikiwiki.setup.in
index b12cf5a..6abaca6 100644
--- a/config/ikiwiki.setup.in
+++ b/config/ikiwiki.setup.in
@@ -28,6 +28,7 @@ historyurl: http://source.bynu.biks.dk/?p=bynu/content.git;a=history;f=[[file]]
diffurl: http://source.bynu.biks.dk/?p=bynu/content.git;a=blobdiff;f=[[file]];h=[[sha1_to]];hp=[[sha1_from]];hb=[[sha1_commit]];hpb=[[sha1_parent]]
locked_pages: '*'
multimarkdown: 1
-allowed_attachments: maxsize(2mb) and ((*.png and mimetype(image/png)) or (*.gif and mimetype(image/gif)) or (*.jpg and mimetype(image/jpeg)))
+#allowed_attachments: maxsize(2mb) and ((*.png and mimetype(image/png)) or (*.gif and mimetype(image/gif)) or (*.jpg and mimetype(image/jpeg)))
+allowed_attachments: maxsize(2mb) and (*.png or *.gif or *.jpg)
tagbase: tag
tag_autocreate_commit: 1