summaryrefslogtreecommitdiff
path: root/ikiwiki/pagespec
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2017-09-06 22:09:03 +0200
committerJonas Smedegaard <dr@jones.dk>2017-09-06 22:09:03 +0200
commit8991362eb46a1fc8f8c4a2d37c9270d9184a7027 (patch)
tree9ca8a3e31b0ef92b4eb64f2e5a74f77aa9d59115 /ikiwiki/pagespec
parentd2900fb6570a284cd6de6d4c0110cd89384de4af (diff)
parenta4d8b1a6fba4a0c21a9acecabc6ddd1b54aacb44 (diff)
Merge branch 'ikiwiki'HEADmaster
Diffstat (limited to 'ikiwiki/pagespec')
-rw-r--r--ikiwiki/pagespec/attachment.mdwn2
1 files changed, 1 insertions, 1 deletions
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: