summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/bugs/prune_causing_taint_mode_failures.mdwn12
1 files changed, 8 insertions, 4 deletions
diff --git a/doc/bugs/prune_causing_taint_mode_failures.mdwn b/doc/bugs/prune_causing_taint_mode_failures.mdwn
index 79eef2204..bbbdb1633 100644
--- a/doc/bugs/prune_causing_taint_mode_failures.mdwn
+++ b/doc/bugs/prune_causing_taint_mode_failures.mdwn
@@ -1,12 +1,15 @@
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.
+<pre>
+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.
+</pre>
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);
+<pre>
+use Scalar::Util qw(t>inted);
sub prune ($) { #{{{
my $file=shift;
@@ -23,3 +26,4 @@ sub prune ($) { #{{{
}
}
} #}}}
+</pre> \ No newline at end of file