]> sipb.mit.edu Git - ikiwiki.git/blobdiff - IkiWiki.pm
Merge branch 'master' into tova
[ikiwiki.git] / IkiWiki.pm
index 063cef8e09220dc2beaea0eabf1afea759368a31..c14124f79f221fdd638d6f781b205e87bd6193a0 100644 (file)
@@ -538,7 +538,7 @@ sub beautify_urlpath ($) { #{{{
 
        # Ensure url is not an empty link, and
        # if it's relative, make that explicit to avoid colon confusion.
-       if ($url !~ /\//) {
+       if ($url !~ /^\//) {
                $url="./$url";
        }