Skip Menu |

This queue is for tickets about the URI CPAN distribution.

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

People
Owner: Nobody in particular
Requestors: bash [...] cpan.org
Cc:
AdminCc:

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



Subject: wrong uri created by new_abs with base uri
$ perl -wle 'use URI; print URI->new_abs("/foo/bar", "http://host/api/");' http://host/foo/bar Im expecting http://host/api/foo/bar Environment: perl -wle 'use URI; print $URI::VERSION;' 1.69 $ perl -v This is perl 5, version 18, subversion 2 (v5.18.2) built for x86_64-linux-gnu-thread-multi (with 41 registered patches, see perl -V for more detail)
Not a bug. Leading "/" always rewrite any path provided by base_uri