Subject: | Overridden get_basic_credentials broken w/ NTLM Authentication |
Apache::TestRequest::get_basic_credentials dies when accessing a realm
using mod_ntlm for authentication. The reason is that $realm is undefined.
Patch to fix below:
--- TestRequest.pm~ 2007-11-14 01:44:36.000000000 -0500
+++ TestRequest.pm 2008-05-30 11:35:57.681722000 -0400
@@ -260,7 +260,7 @@
my($self, $realm, $uri, $proxy) = @_;
for ($realm, '__ALL__') {
- next unless $credentials{$_};
+ next unless $_ && $credentials{$_};
return @{ $credentials{$_} };
}