From 52f2235e6072bfb2e39a52bd8c106ae890ba4a5a Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 17 Feb 2009 19:36:58 -0500 Subject: [PATCH] goto: Fix redirect to comments. --- IkiWiki/Plugin/goto.pm | 2 +- debian/changelog | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/IkiWiki/Plugin/goto.pm b/IkiWiki/Plugin/goto.pm index 7cc8cb484..4fd1471e9 100644 --- a/IkiWiki/Plugin/goto.pm +++ b/IkiWiki/Plugin/goto.pm @@ -38,7 +38,7 @@ sub cgi_goto ($;$) { # permalink. Comments do. if (IkiWiki::isinternal($page) && defined $pagestate{$page}{meta}{permalink}) { - redirect($q, $pagestate{$page}{meta}{permalink}); + Ikiwiki::redirect($q, $pagestate{$page}{meta}{permalink}); } my $link = bestlink("", $page); diff --git a/debian/changelog b/debian/changelog index c28d36c84..b644ac99c 100644 --- a/debian/changelog +++ b/debian/changelog @@ -5,6 +5,7 @@ ikiwiki (3.05) UNRELEASED; urgency=low This is potentially expensive, but is necessary so that meta and tag directives, and other links on templates affect the page using the template reliably. + * goto: Fix redirect to comments. -- Joey Hess Sun, 15 Feb 2009 20:11:57 -0500 -- 2.39.5