recentchanges: construct redirections via urlto(), avoiding mentions of index.html
parent
97e3263ad1
commit
02923917c8
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue