1 Using ikiwiki version 2.5gpa1 (the backport to Debian 3.1), I suddenly started getting the following error when rebuilding the wiki:
4 successfully generated /home/ikiwiki/cgi-bin/ikiwiki.cgi
5 Insecure dependency in rmdir while running with -T switch at /usr/share/perl5/IkiWiki/Render.pm line 242.
6 BEGIN failed--compilation aborted at (eval 5) line 130.
9 I've no idea what's happening (hey, I'm a C programmer), but I've hacked prune() to workaround this as follows:
12 use Scalar::Util qw(tainted);
18 my $dir=dirname($file);
19 if (!tainted($file) && $dir =~ /^(.*)$/) {
24 if (!tainted($file) && $dir =~ /^(.*)$/) {