From ceb9d87152204157cf86a83ce86c34a614534d67 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 16 May 2012 20:18:59 -0400 Subject: [PATCH] revert random bug fix That was a bad bug, but the security team probably won't accept it in an unrelated security update. --- IkiWiki/Plugin/comments.pm | 6 ++---- debian/changelog | 7 ------- 2 files changed, 2 insertions(+), 11 deletions(-) diff --git a/IkiWiki/Plugin/comments.pm b/IkiWiki/Plugin/comments.pm index 06a2b1bd9..29c9d4f40 100644 --- a/IkiWiki/Plugin/comments.pm +++ b/IkiWiki/Plugin/comments.pm @@ -959,8 +959,7 @@ sub match_comment ($$;@) { } } - return match_glob($page, "$glob/*", internal => 1, @_) && - ! match_glob($page, "$glob/*/*", internal => 1, @_); + return match_glob($page, "$glob/*", internal => 1, @_); } sub match_comment_pending ($$;@) { @@ -975,8 +974,7 @@ sub match_comment_pending ($$;@) { return IkiWiki::FailReason->new("$page is not a pending comment"); } - return match_glob($page, "$glob/*", internal => 1, @_) && - ! match_glob($page, "$glob/*/*", internal => 1, @_); + return match_glob($page, "$glob/*", internal => 1, @_); } 1 diff --git a/debian/changelog b/debian/changelog index 910736f82..3dac4c400 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,10 +1,3 @@ -ikiwiki (3.20110226) UNRELEASED; urgency=low - - * comment: Don't show comments of subpages on parent pages. - (Fixes bug introduced in version 3.20100505.) - - -- Joey Hess Sun, 27 Feb 2011 18:14:05 -0400 - ikiwiki (3.20100815.8) stable-security; urgency=low * ikiwiki-mass-rebuild: Fix tty hijacking vulnerability by using su. -- 2.39.2