diff options
author | Joey Hess <joey@kodama.kitenet.net> | 2008-07-21 17:26:54 -0400 |
---|---|---|
committer | Joey Hess <joey@kodama.kitenet.net> | 2008-07-21 17:27:14 -0400 |
commit | c2ffd205f3301a9fe6b5949a88da770899642589 (patch) | |
tree | 01999ffc66a8dbb875efa62ddc31f860e4843b5f /IkiWiki.pm | |
parent | c323a51efb3b43b8931c12f66e6ae142f1eb20ed (diff) |
Really fix bug with links to pages with names containing colons
Previous fix mised a few cases.
Diffstat (limited to 'IkiWiki.pm')
-rw-r--r-- | IkiWiki.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki.pm b/IkiWiki.pm index 063cef8e0..c14124f79 100644 --- a/IkiWiki.pm +++ b/IkiWiki.pm @@ -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"; } |