X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/0844bd0b1567404243d95e616d3c7526e922822d..ecf2408bf64de1aee3bb8b79f6e28c14b52cf1c4:/IkiWiki.pm diff --git a/IkiWiki.pm b/IkiWiki.pm index 97c835cf6..6747a3ba4 100644 --- a/IkiWiki.pm +++ b/IkiWiki.pm @@ -951,7 +951,7 @@ sub beautify_urlpath ($) { # Ensure url is not an empty link, and if necessary, # add ./ to avoid colon confusion. - if ($url !~ /^\// && $url !~ /^\.\.\//) { + if ($url !~ /^\// && $url !~ /^\.\.?\//) { $url="./$url"; }