From: Simon McVittie Date: Sun, 21 Sep 2008 17:25:06 +0000 (+0100) Subject: remove: redirect via urlto(), avoiding mentions of index.html X-Git-Tag: 2.66~67^2 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=7f8259441058b16db1fd8dc2c6a53827a46794d8;p=ikiwiki.git remove: redirect via urlto(), avoiding mentions of index.html --- diff --git a/IkiWiki/Plugin/remove.pm b/IkiWiki/Plugin/remove.pm index 9666408bc..b1cb6233d 100644 --- a/IkiWiki/Plugin/remove.pm +++ b/IkiWiki/Plugin/remove.pm @@ -207,7 +207,7 @@ sub sessioncgi ($$) { #{{{ if (! exists $pagesources{$parent}) { $parent="index"; } - IkiWiki::redirect($q, $config{url}."/".htmlpage($parent)); + IkiWiki::redirect($q, urlto($parent, '/', 1)); } } else {