]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/commitdiff
recentchanges: construct redirections via urlto(), avoiding mentions of index.html
authorSimon McVittie <smcv@ http://smcv.pseudorandom.co.uk/>
Sun, 21 Sep 2008 17:24:51 +0000 (18:24 +0100)
committerSimon McVittie <smcv@ http://smcv.pseudorandom.co.uk/>
Sun, 21 Sep 2008 17:26:48 +0000 (18:26 +0100)
IkiWiki/Plugin/recentchanges.pm

index 7bc48297455933156a62c4be363f835e4d63944e..dbb9065d494c9f14c06cb494d9f5296e1598f122 100644 (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;