X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/c3cf6bf8d9b2494cdf54396f1b95a139e63ce860..4da365136ac123291d3b608adb3192311692182d:/doc/bugs/prune_causing_taint_mode_failures.mdwn diff --git a/doc/bugs/prune_causing_taint_mode_failures.mdwn b/doc/bugs/prune_causing_taint_mode_failures.mdwn index 79eef2204..1876d9129 100644 --- a/doc/bugs/prune_causing_taint_mode_failures.mdwn +++ b/doc/bugs/prune_causing_taint_mode_failures.mdwn @@ -1,11 +1,14 @@ Using ikiwiki version 2.5gpa1 (the backport to Debian 3.1), I suddenly started getting the following error when rebuilding the wiki: -> successfully generated /home/ikiwiki/cgi-bin/ikiwiki.cgi -> Insecure dependency in rmdir while running with -T switch at /usr/share/perl5/IkiWiki/Render.pm line 242. -> BEGIN failed--compilation aborted at (eval 5) line 130. +
+successfully generated /home/ikiwiki/cgi-bin/ikiwiki.cgi +Insecure dependency in rmdir while running with -T switch at /usr/share/perl5/IkiWiki/Render.pm line 242. +BEGIN failed--compilation aborted at (eval 5) line 130. +I've no idea what's happening (hey, I'm a C programmer), but I've hacked prune() to workaround this as follows: +
use Scalar::Util qw(tainted); sub prune ($) { #{{{ @@ -23,3 +26,10 @@ sub prune ($) { #{{{ } } } #}}} ++ +> Old versions of perl are known to have bugs with taint checking. +> I don't really support using ikiwiki with the perl 5.8.4 in debian +> oldstable, and would recommend upgrading. --[[Joey]] + +[[!tag patch done]]