summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon McVittie <smcv@ http://smcv.pseudorandom.co.uk/>2008-09-21 18:24:51 +0100
committerSimon McVittie <smcv@ http://smcv.pseudorandom.co.uk/>2008-09-21 18:26:48 +0100
commit02923917c85a60aa5475c923606685a2acd36125 (patch)
tree35b9366b3c11ede33ac6a29dc505b17fb2054092
parent97e3263ad11885c112767393cd6659c85810947a (diff)
recentchanges: construct redirections via urlto(), avoiding mentions of index.html
-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 7bc482974..dbb9065d4 100644
--- a/IkiWiki/Plugin/recentchanges.pm
+++ b/IkiWiki/Plugin/recentchanges.pm
@@ -103,7 +103,7 @@ sub cgi ($) { #{{{
"</p>");
}
else {
- IkiWiki::redirect($cgi, $config{url}.IkiWiki::beautify_urlpath("/".htmlpage($link)));
+ IkiWiki::redirect($cgi, urlto($link, undef, 1));
}
exit;