From d5de560f50cee1b3f7facb4a7b53d90556ec091c Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Fri, 11 Jul 2008 09:44:47 -0400 Subject: [PATCH] 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. --- IkiWiki/Plugin/recentchanges.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.26.2