Philip M. Gollucci wrote:
Niko Tyni wrote:
On Mon, Dec 22, 2008 at 10:47:18AM -0600, Gunnar Wolf wrote:
The attached patch works around the problem by providing a credentials()
wrapper too. It's probably not quite correct, but the tests pass with
this on both libwww-perl 5.813 and 5.822.
Committed revision 728811.
http://svn.apache.org/viewvc?rev=728811&view=rev
Thanks!
mod_perl 1 is affected by this as well. This is actually the same bug i
ran reported in this thread:
http://marc.info/?l=apache-modperl&m=122886595126742&w=2
Attached is a patch against the 1.x svn branch which resolves the
problem there as well using the same technique the Niko used for
TestRequest.pm
Adam
Index: t/internal/auth.t
===================================================================
--- t/internal/auth.t (revision 729005)
+++ t/internal/auth.t (working copy)
@@ -28,6 +28,7 @@
@creds = qw(dougm mod_perl);
sub get_basic_credentials { shift->creds }
+sub credentials { shift->creds }
sub creds {
shift;