aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin/recentchanges.pm
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-07-11 09:44:47 -0400
committerJoey Hess <joey@kodama.kitenet.net>2008-07-11 09:44:47 -0400
commitd5de560f50cee1b3f7facb4a7b53d90556ec091c (patch)
treeefc847e1be3fd473f31d1ff6b3062794e1d141f6 /IkiWiki/Plugin/recentchanges.pm
parent32a8bf4c3607fae5f7a303fd2ab02d25e9056aba (diff)
downloadikiwiki-d5de560f50cee1b3f7facb4a7b53d90556ec091c.tar
ikiwiki-d5de560f50cee1b3f7facb4a7b53d90556ec091c.tar.gz
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.
Diffstat (limited to 'IkiWiki/Plugin/recentchanges.pm')
-rw-r--r--IkiWiki/Plugin/recentchanges.pm2
1 files changed, 1 insertions, 1 deletions
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 ($) { #{{{
"</p>");
}
else {
- IkiWiki::redirect($cgi, $config{url}."/".htmlpage($link));
+ IkiWiki::redirect($cgi, $config{url}.IkiWiki::beautify_url("/".htmlpage($link)));
}
exit;