From 02923917c85a60aa5475c923606685a2acd36125 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Sun, 21 Sep 2008 18:24:51 +0100 Subject: recentchanges: construct redirections via urlto(), avoiding mentions of index.html --- IkiWiki/Plugin/recentchanges.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'IkiWiki') 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 ($) { #{{{ "

"); } else { - IkiWiki::redirect($cgi, $config{url}.IkiWiki::beautify_urlpath("/".htmlpage($link))); + IkiWiki::redirect($cgi, urlto($link, undef, 1)); } exit; -- cgit v1.2.3