Re: [URI 1.10] patch to URI/URL.pm

Gisle Aas (gisle@activestate.com)
22 Jan 2001 19:19:16 -0800


Abhijit Menon-Sen <ams@wiw.org> writes:

> gisle@ActiveState.com (2001-01-22 18:39:38):
> > > URI::URL::crack returns $uri->path instead of epath (as it is documented
> > > to do).
> > 
> > Applied.  Where did you find this documented?
> 
> In URI/URL.pm from libwww-perl 5.36.
> 
> I had assumed that the bug was in the URI::URL wrapper provided by URI,
> but now I see that the original code also behaved contrary to the
> documentation. From URI/URL/_generic.pm:
> 
> |   my @c = @{$self}{qw(scheme user password host port path params query frag)};
> 
> epath is the logical thing to return, but it may break existing code. Do
> you think the change is a good idea?

Then I think it's best to just leave it as it was.  Patch reverted.

--Gisle