From d4f362fdfe17c885e417334b6677963193aa3542 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Wed, 6 Sep 2017 21:59:14 +0200 Subject: Sync with ikiwiki 3.20160506. --- ikiwiki/pagespec/attachment.mdwn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ikiwiki') diff --git a/ikiwiki/pagespec/attachment.mdwn b/ikiwiki/pagespec/attachment.mdwn index fa2bc58..868fb23 100644 --- a/ikiwiki/pagespec/attachment.mdwn +++ b/ikiwiki/pagespec/attachment.mdwn @@ -12,7 +12,7 @@ while allowing larger mp3 files to be uploaded by joey into a specific directory, and check all attachments for viruses, something like this could be used: - virusfree() and ((user(joey) and podcast/*.mp3 and mimetype(audio/mpeg) and maxsize(15mb)) or (mimetype(image/*) and maxsize(50kb))) + virusfree() and ((user(joey) and podcast/*.mp3 and mimetype(audio/mpeg) and maxsize(15mb)) or ((mimetype(image/jpeg) or mimetype(image/png)) and maxsize(50kb))) The regular [[ikiwiki/PageSpec]] syntax is expanded with the following additional tests: -- cgit v1.2.3 n value='master' selected='selected'>master Unnamed repository; edit this file 'description' to name the repository.Jonas Smedegaard
summaryrefslogtreecommitdiff
path: root/tags/bb/ee/handler.1005552.D1005546.164474219513826.ackdone@bugs.debian.org/unread
diff options
context:
space:
mode:
Diffstat (limited to 'tags/bb/ee/handler.1005552.D1005546.164474219513826.ackdone@bugs.debian.org/unread')