Skip Menu |

This queue is for tickets about the URI CPAN distribution.

Report information
The Basics
Id: 73129
Status: rejected
Priority: 0/
Queue: URI

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

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

Subject: $self->scheme bug
Download (untitled) / with headers
text/plain 202b
use URI; my $a = URI->new('hello', 'http'); say $a->scheme; ## return nothing here. say ref $a; ## URI::http I suppose you should also check the package name and return the scheme accordingly?
The behaviour is the expected one (at least by me).  This might require some clarification in the documentation.  The 'scheme' part is only used to select the URI implementation class to use.  If the provided URI string is relative the URI will still be scheme-less.

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

Please report any issues with to