summaryrefslogtreecommitdiff
path: root/doc/bugs/img_plugin_causes_taint_failure.mdwn
blob: f8def19a03fc45546c104355435ad090cb9d9ae2 (plain)

The img plugin causes a taint failure if one tries to link a scaled image, e.g.

\[[img foo.png size=64x64]]

.ikiwiki.setup: Insecure dependency in mkdir while running with -T switch at /usr/lib/perl5/vendor_perl/5.8.8/IkiWiki.pm line 360.
BEGIN failed--compilation aborted at (eval 5) line 109.

If one omits the size argument it works. And if it worked once the taint failure will not happen again unless one rm -r's the destdir.

Seen with ikiwiki 2.30

And what version of perl? See [[Insecure_dependency_in_mkdir]] et al. Also, the debian build of ikiwiki has taint checking disabled to avoid this perl bug. Did you build your own? Set NOTAINT=1 when building.. --[[Joey]]