|Subject:||HTTP::Response->base does not work with data: URLs|
The easiest way to demonstrate the problem is with LWP: $ perl -MLWP::UserAgent -le '$ua = new LWP::UserAgent; print $ua->get("data:text/plain,foo")->base;' data: HTTP::Response::base calls $uri->base($foo), which nothing with data URLs. I don’t fully understand exactly what is supposed to be calling what, but I believe the problem lies in the URI somewhere. (Apologies if this is in the wrong queue.) It is necessary for this to work, since the correct full URL for a link to an anchor should be obtainable via $response->base . "#anchor", but it fails with data:foo.