diff options
author | Joey Hess <joey@gnu.kitenet.net> | 2008-12-26 14:07:19 -0500 |
---|---|---|
committer | Joey Hess <joey@gnu.kitenet.net> | 2008-12-26 14:07:19 -0500 |
commit | 9db06329c98e1a390bbb6323de02dc7e2f45f1f8 (patch) | |
tree | 9be1a22b818a00a94bce43959e6b7a14ef898598 /IkiWiki/Plugin/img.pm | |
parent | 0d406010ff8ffb8d891318bbaf6b6de1e2cb2578 (diff) |
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.
Diffstat (limited to 'IkiWiki/Plugin/img.pm')
0 files changed, 0 insertions, 0 deletions