recentchanges: construct redirections via urlto(), avoiding mentions of index.html

master
Simon McVittie 2008-09-21 18:24:51 +01:00
parent 97e3263ad1
commit 02923917c8
1 changed files with 1 additions and 1 deletions

View File

@ -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;