]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/commitdiff
comments: Deal with users entering unqualified or partial urls.
authorJoey Hess <joey@gnu.kitenet.net>
Fri, 26 Dec 2008 19:07:19 +0000 (14:07 -0500)
committerJoey Hess <joey@gnu.kitenet.net>
Fri, 26 Dec 2008 19:07:19 +0000 (14:07 -0500)
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.


No differences found