]> sipb.mit.edu Git - ikiwiki.git/blobdiff - IkiWiki.pm
po test: add more cases, including (semi-)absolute URLs
[ikiwiki.git] / IkiWiki.pm
index 93d2c326d300209cf8f6af51905ec34bccd80b64..bbe1ad055b2935437c9d0ee6ccf76f8f51d6bf3d 100644 (file)
@@ -1140,7 +1140,7 @@ sub urlto ($;$$) {
        my $absolute=shift;
        
        if (! length $to) {
-               return beautify_urlpath(baseurl($from)."index.$config{htmlext}");
+               $to = 'index';
        }
 
        if (! $destsources{$to}) {