From 7f8259441058b16db1fd8dc2c6a53827a46794d8 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Sun, 21 Sep 2008 18:25:06 +0100 Subject: remove: redirect via urlto(), avoiding mentions of index.html --- IkiWiki/Plugin/remove.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'IkiWiki') 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 { -- cgit v1.2.3