From: Joey Hess Date: Thu, 9 Oct 2008 23:12:51 +0000 (-0400) Subject: orphans: Fix unquoted page name in regexp. X-Git-Tag: 2.53.3~2 X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/commitdiff_plain/f8dd704a707149cf1fe02974a7f56b558df553c8 orphans: Fix unquoted page name in regexp. (cherry picked from commit a473cb2f74738d369130135b8c3ce0f6ef66af02) --- diff --git a/IkiWiki/Plugin/orphans.pm b/IkiWiki/Plugin/orphans.pm index 0f96b9397..285390fba 100644 --- a/IkiWiki/Plugin/orphans.pm +++ b/IkiWiki/Plugin/orphans.pm @@ -34,7 +34,7 @@ sub preprocess (@) { #{{{ next if grep { length $_ && ($_ !~ /\/\Q$discussion\E$/i || ! $config{discussion}) && - bestlink($page, $_) !~ /^($page|)$/ + bestlink($page, $_) !~ /^(\Q$page\E|)$/ } @{$links{$page}}; push @orphans, $page; } diff --git a/debian/changelog b/debian/changelog index ff408c55c..cb9bc4a73 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +ikiwiki (2.53.3) UNRELEASED; urgency=low + + * orphans: Fix unquoted page name in regexp. + + -- Joey Hess Thu, 09 Oct 2008 19:12:18 -0400 + ikiwiki (2.53.2) testing-proposed-updates; urgency=low * Fix bad patch backport that broke generation of rss/atom feeds. Closes: #498224