summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon McVittie <smcv@ http://smcv.pseudorandom.co.uk/>2008-09-21 18:25:06 +0100
committerSimon McVittie <smcv@ http://smcv.pseudorandom.co.uk/>2008-09-21 18:26:48 +0100
commit7f8259441058b16db1fd8dc2c6a53827a46794d8 (patch)
tree7ab1648407c1196b034d7bc6a43505dd0d7ca019
parent02923917c85a60aa5475c923606685a2acd36125 (diff)
remove: redirect via urlto(), avoiding mentions of index.html
-rw-r--r--IkiWiki/Plugin/remove.pm2
1 files changed, 1 insertions, 1 deletions
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 {