img: stop ImageMagick trying to be clever if filenames contain a colon
authorSimon McVittie <smcv@debian.org>
Sat, 13 Jun 2015 19:00:08 +0000 (20:00 +0100)
committerSimon McVittie <smcv@debian.org>
Sat, 13 Jun 2015 19:00:08 +0000 (20:00 +0100)
commit7a2117bf8c2cf5372e64ab7b368803eec7e6f5d7
tree7b1679110dcc581c62dda475a7a98ccd3ab0f7b0
parentf2365c3e660fe0b00a051ce893cdcad0016e560e
img: stop ImageMagick trying to be clever if filenames contain a colon

$im->Read() takes a filename-like argument with several sets of special
syntax. Most of the possible metacharacters are escaped by the
default `wiki_file_chars` (and in any case not particularly disruptive),
but the colon ":" is not.

It seems the way to force ImageMagick to treat colons within the
filename as literal is to prepend a colon, so do that.
IkiWiki/Plugin/img.pm
debian/changelog
doc/bugs/Colons___8216__:__8217___should_not_be_allowed_in_image_filenames.mdwn
t/img.t