]> sipb.mit.edu Git - ikiwiki.git/commitdiff
goto: Fix redirect to comments.
authorJoey Hess <joey@gnu.kitenet.net>
Wed, 18 Feb 2009 00:36:58 +0000 (19:36 -0500)
committerJoey Hess <joey@gnu.kitenet.net>
Wed, 18 Feb 2009 00:36:58 +0000 (19:36 -0500)
IkiWiki/Plugin/goto.pm
debian/changelog

index 7cc8cb4840f42ec8817ad1ae0a9cec726694b9f0..4fd1471e98db36e72a5ce5f9695a479c35591929 100644 (file)
@@ -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);
index c28d36c844abeef37556e889d868524f6dcecb33..b644ac99c17f8adea2a5ebe62ea8e7e47acb48dc 100644 (file)
@@ -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 <joeyh@debian.org>  Sun, 15 Feb 2009 20:11:57 -0500