Skip Menu |
 

This queue is for tickets about the URI CPAN distribution.

Report information
The Basics
Id: 42938
Status: new
Priority: 0/
Queue: URI

People
Owner: Nobody in particular
Requestors: depesz [...] depesz.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: (no value)
Fixed in: (no value)



Subject: URI accepts invalid hostnames
Download (untitled) / with headers
text/plain 252b
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.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.