]> sipb.mit.edu Git - ikiwiki.git/blobdiff - IkiWiki/CGI.pm
rename: Fix crash when renaming a page that is linked to by a page in an underlay.
[ikiwiki.git] / IkiWiki / CGI.pm
index 30d108a81ca7be4bac8081040dbb1a5608f1436c..f8617bfc63ca63f51a8f51c135c96641947faf7d 100644 (file)
@@ -79,7 +79,7 @@ sub cgitemplate ($$$;@) {
                title => $title,
                wikiname => $config{wikiname},
                content => $content,
-               baseurl => urlabs(urlto(undef), $topurl),
+               baseurl => urlabs(urlto(""), $topurl),
                html5 => $config{html5},
                %params,
        );