diff options
-rw-r--r-- | IkiWiki/Plugin/rename.pm | 1 | ||||
-rw-r--r-- | debian/changelog | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/IkiWiki/Plugin/rename.pm b/IkiWiki/Plugin/rename.pm index 57747d3c9..e871b815d 100644 --- a/IkiWiki/Plugin/rename.pm +++ b/IkiWiki/Plugin/rename.pm @@ -567,6 +567,7 @@ sub fixlinks ($$$) { } if ($needfix) { my $file=$pagesources{$page}; + next unless -e $config{srcdir}."/".$file; my $oldcontent=readfile($config{srcdir}."/".$file); my $content=renamepage_hook($page, $rename->{src}, $rename->{dest}, $oldcontent); if ($oldcontent ne $content) { diff --git a/debian/changelog b/debian/changelog index 0165a240b..bed0bd6b4 100644 --- a/debian/changelog +++ b/debian/changelog @@ -5,6 +5,9 @@ ikiwiki (3.20110106) UNRELEASED; urgency=low * inline: Use class rather than id for feedlinks and blogform. (Giuseppe Bilotta) * comments: Fix XSS security hole due to missing validation of page name. + (Thanks, Dave B.) + * rename: Fix crash when renaming a page that is linked to by a page + in an underlay. -- Joey Hess <joeyh@debian.org> Thu, 06 Jan 2011 14:41:34 -0400 |