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)