Skip Menu |

This queue is for tickets about the URI CPAN distribution.

Report information
The Basics
Id: 71204
Status: resolved
Priority: 0/
Queue: URI

Owner: Nobody in particular
Requestors: mschwern [...]

Bug Information
Severity: Normal
Broken in: 1.59
Fixed in: (no value)

Subject: URI::URL::strict() equivalent for URI
Download (untitled) / with headers
text/plain 635b
URI::Find is still using URI::URL. The primary reason is laziness... but also that it relies on URI::URL::strict() to identify if a given URL is a recognized scheme. I prefer to delegate that to URI rather than maintaining my own list. doesn't have an equivalent, though I see URI->new honors URI::URL::strict. I can think of a number of hacky ways I could do it, checking if the class of the URI is URI::_foreign springs to mind, but I'd like to do it in a way that won't break later. Perhaps something like... sub has_valid_scheme { my $self = shift; return implementor($self->scheme) ? 1 : 0; }

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

Please report any issues with to