]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki.pm
Really fix bug with links to pages with names containing colons
[git.ikiwiki.info.git] / IkiWiki.pm
index 4de8f71d6ce60743de22d0ea9efaeeb875de5999..0b576b32f886046d6648071dc1fdb6d5cc95d170 100644 (file)
@@ -541,7 +541,7 @@ sub beautify_url ($) { #{{{
 
        # 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";
        }