diff options
author | Joey Hess <joey@kodama.kitenet.net> | 2008-07-11 09:44:47 -0400 |
---|---|---|
committer | Joey Hess <joey@kodama.kitenet.net> | 2008-07-11 09:44:47 -0400 |
commit | d5de560f50cee1b3f7facb4a7b53d90556ec091c (patch) | |
tree | efc847e1be3fd473f31d1ff6b3062794e1d141f6 /IkiWiki/Plugin/recentchanges.pm | |
parent | 32a8bf4c3607fae5f7a303fd2ab02d25e9056aba (diff) | |
download | ikiwiki-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.pm | 2 |
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; |