]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/remove.pm
remove: redirect via urlto(), avoiding mentions of index.html
[git.ikiwiki.info.git] / IkiWiki / Plugin / remove.pm
index 9666408bc77ab332866b936f03e3d6dfd5f36fb6..b1cb6233d297a671328f32b05927b88f95124525 100644 (file)
@@ -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 {