perl-modperl-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jkal...@apache.org
Subject svn commit: r1448206 - /perl/modperl/branches/httpd24/t/hooks/TestHooks/authen_digest.pm
Date Wed, 20 Feb 2013 15:02:11 GMT
Author: jkaluza
Date: Wed Feb 20 15:02:11 2013
New Revision: 1448206

URL: http://svn.apache.org/r1448206
Log:
* t/hooks/TestHooks/authen_digest.pm: Set $r->user and $r->ap_auth_type,
  otherwise httpd-2.4 thinks that authentication was not done.

Modified:
    perl/modperl/branches/httpd24/t/hooks/TestHooks/authen_digest.pm

Modified: perl/modperl/branches/httpd24/t/hooks/TestHooks/authen_digest.pm
URL: http://svn.apache.org/viewvc/perl/modperl/branches/httpd24/t/hooks/TestHooks/authen_digest.pm?rev=1448206&r1=1448205&r2=1448206&view=diff
==============================================================================
--- perl/modperl/branches/httpd24/t/hooks/TestHooks/authen_digest.pm (original)
+++ perl/modperl/branches/httpd24/t/hooks/TestHooks/authen_digest.pm Wed Feb 20 15:02:11 2013
@@ -21,6 +21,9 @@ sub handler {
         return Apache2::Const::HTTP_UNAUTHORIZED;
     }
 
+    $r->user("user");
+    $r->ap_auth_type("Digest");
+
     return Apache2::Const::OK;
 }
 



Mime
View raw message