From 7afe6826867d313b91ad3cbb825e2405304366e4 Mon Sep 17 00:00:00 2001 From: Siri Reiter Date: Mon, 2 Dec 2013 23:47:33 +0100 Subject: Drop MIME validation (currently broken). --- config/ikiwiki.setup.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'config/ikiwiki.setup.in') 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 -- cgit v1.2.3