summaryrefslogtreecommitdiffstats
path: root/roles/wiki/files
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2015-06-05 19:56:52 +0200
committerGuilhem Moulin <guilhem@fripost.org>2015-06-07 02:54:33 +0200
commit2bc031ff646835adbfe41fdf2ec7c0e20118edae (patch)
tree0a9f9ae06408d28c78e585e1b5cae4181cc19b61 /roles/wiki/files
parente0769fc52edce245f11415d1b8228752f28c86e1 (diff)
Remove ‘:’ from the list of valid chars in wiki filenames.
Because it's interpreted weirdly by Image::Magick: $ identify 'Screenshot_from_2015-02-23_18:59:48-extract.png[0]' identify: no decode delegate for this image format `59\' @ error/constitute.c/ReadImage/501. $ mv 'Screenshot_from_2015-02-23_18:59:48-extract.png' screenshot.png $ identify 'screenshot.png[0]' screenshot.png[0]=>screenshot.png PNG 453x122 453x122+0+0 8-bit sRGB 11.2KB 0.000u 0:00.000
Diffstat (limited to 'roles/wiki/files')
-rw-r--r--roles/wiki/files/var/lib/ikiwiki/fripost-wiki.setup2
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/wiki/files/var/lib/ikiwiki/fripost-wiki.setup b/roles/wiki/files/var/lib/ikiwiki/fripost-wiki.setup
index fb61c59..cfefb77 100644
--- a/roles/wiki/files/var/lib/ikiwiki/fripost-wiki.setup
+++ b/roles/wiki/files/var/lib/ikiwiki/fripost-wiki.setup
@@ -107,7 +107,7 @@ ENV: {}
# regexp of files that should be skipped
#exclude: ^(*\.private|Makefile)$
# specifies the characters that are allowed in source filenames
-wiki_file_chars: -[:alnum:]+/.:_
+wiki_file_chars: -[:alnum:]+/._
# allow symlinks in the path leading to the srcdir (potentially insecure)
allow_symlinks_before_srcdir: 0
# cookie control