Re: [URI 1.10] patch to URI/URL.pm
Abhijit Menon-Sen (ams@wiw.org)
Tue, 23 Jan 2001 08:29:54 +0530
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?
- ams