From: Joey Hess Date: Fri, 26 Dec 2008 19:07:19 +0000 (-0500) Subject: comments: Deal with users entering unqualified or partial urls. X-Git-Tag: 2.72~2 X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/commitdiff_plain/9db06329c98e1a390bbb6323de02dc7e2f45f1f8?ds=inline;hp=9db06329c98e1a390bbb6323de02dc7e2f45f1f8 comments: Deal with users entering unqualified or partial urls. People seem to be able to expect to enter www.foo.com and get away with it. The resulting my.wiki/www.foo.com link was not ideal. To fix it, use URI::Heuristic to expand such things into a real url. It even looks up hostnames in the DNS if necessary. ---