diff --git a/IkiWiki/Render.pm b/IkiWiki/Render.pm index a824ba539..e5ba0079b 100644 --- a/IkiWiki/Render.pm +++ b/IkiWiki/Render.pm @@ -321,6 +321,7 @@ sub find_src_files () { my ($f) = $file =~ /$config{wiki_file_regexp}/; # untaint if (! defined $f) { warn(sprintf(gettext("skipping bad filename %s"), $file)."\n"); + return; } if ($underlay) { diff --git a/debian/changelog b/debian/changelog index 31deaf9aa..049a3a898 100644 --- a/debian/changelog +++ b/debian/changelog @@ -12,6 +12,8 @@ ikiwiki (3.20100502) UNRELEASED; urgency=low are kept separate for now to avoid breaking modified templates.) * websetup: Only display Setup button on admins' preferences page. * graphviz: Fix display of preexisting images in preview mode. + * Fixes a bug in skipping of illegal source files introduced in + 3.20100427. -- Joey Hess Sun, 02 May 2010 13:22:50 -0400