Subject: | URI accepts invalid hostnames |
test:
perl -e 'use URI; my $q = URI->new("http://<alert>"); print $q->host'
this should fail, raise exception or generally do anything to let user
know that he passed invalid url - invalid because '<' and '>' are not
acceptable as parts of hostnames.