From f8dd704a707149cf1fe02974a7f56b558df553c8 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 9 Oct 2008 19:12:51 -0400 Subject: [PATCH] orphans: Fix unquoted page name in regexp. (cherry picked from commit a473cb2f74738d369130135b8c3ce0f6ef66af02) --- IkiWiki/Plugin/orphans.pm | 2 +- debian/changelog | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) 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 -- 2.39.2