goto: Fix redirect to comments.

master
Joey Hess 2009-02-17 19:36:58 -05:00
parent 9acc4d578d
commit 52f2235e60
2 changed files with 2 additions and 1 deletions

View 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);

1
debian/changelog vendored
View 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