From: Joey Hess Date: Fri, 11 Jul 2008 13:44:47 +0000 (-0400) Subject: beautify url recentchanges_link redirs to X-Git-Tag: 2.54~148 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=d5de560f50cee1b3f7facb4a7b53d90556ec091c;p=ikiwiki.git beautify url recentchanges_link redirs to This ensures that the same link is reached as is used on pages, so browsers will know that the link on pages has been visited, and color it appropriately. --- diff --git a/IkiWiki/Plugin/recentchanges.pm b/IkiWiki/Plugin/recentchanges.pm index f4f9ca348..bc069fbf2 100644 --- a/IkiWiki/Plugin/recentchanges.pm +++ b/IkiWiki/Plugin/recentchanges.pm @@ -80,7 +80,7 @@ sub cgi ($) { #{{{ "

"); } else { - IkiWiki::redirect($cgi, $config{url}."/".htmlpage($link)); + IkiWiki::redirect($cgi, $config{url}.IkiWiki::beautify_url("/".htmlpage($link))); } exit;