orphans: Fix unquoted page name in regexp.

master
Joey Hess 2008-10-09 19:09:16 -04:00
parent 8c191adf5c
commit a473cb2f74
2 changed files with 2 additions and 1 deletions

View File

@ -43,7 +43,7 @@ sub preprocess (@) { #{{{
next if grep { next if grep {
length $_ && length $_ &&
($_ !~ /\/\Q$discussion\E$/i || ! $config{discussion}) && ($_ !~ /\/\Q$discussion\E$/i || ! $config{discussion}) &&
bestlink($page, $_) !~ /^($page|)$/ bestlink($page, $_) !~ /^(\Q$page\E|)$/
} @{$links{$page}}; } @{$links{$page}};
push @orphans, $page; push @orphans, $page;
} }

1
debian/changelog vendored
View File

@ -6,6 +6,7 @@ ikiwiki (2.67) UNRELEASED; urgency=low
is locked for. This supports most of the ACL type things users have been is locked for. This supports most of the ACL type things users have been
wanting to be done. Closes: #443346 (It does not control who can read a wanting to be done. Closes: #443346 (It does not control who can read a
page, but that's out of scope for ikiwiki.) page, but that's out of scope for ikiwiki.)
* orphans: Fix unquoted page name in regexp.
-- Joey Hess <joeyh@debian.org> Mon, 06 Oct 2008 16:07:50 -0400 -- Joey Hess <joeyh@debian.org> Mon, 06 Oct 2008 16:07:50 -0400