Skip Menu |

This queue is for tickets about the libwww-perl CPAN distribution.

Report information
The Basics
Id: 107297
Status: resolved
Priority: 0/
Queue: libwww-perl

Owner: Nobody in particular
Requestors: leon.juranic [...]

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

Subject: LWP::Authen::Basic proxy authentication bug - proxy authentication not working
Date: Thu, 24 Sep 2015 15:42:51 +0200
To: bug-libwww-perl [...]
From: Leon Juranic <leon.juranic [...]>
Download (untitled) / with headers
text/plain 774b
Hi, I think there is a bug in LWP::Authen::Basic proxy authentication. Basic proxy authentication didn't work for me on latest LWP / LWP::Authen::Basic, when proxy host:ip, user, password and realm are set via credentials() function. Problem is probably in on line: ... my($user, $pass) = $ua->get_basic_credentials($realm, $url, $proxy); ... If $proxy is set to true, function get_basic_credentials() from will never return user/pass combination for specific realm/url, instead, it will just do "return if $proxy;", even if proxy requires authentication. file sub get_basic_credentials { my($self, $realm, $uri, $proxy) = @_; return if $proxy; return $self->credentials($uri->host_port, $realm); } Regards, Leon Juranic

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to