You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl-cvs@perl.apache.org by jk...@apache.org on 2013/02/20 16:02:11 UTC
svn commit: r1448206 -
/perl/modperl/branches/httpd24/t/hooks/TestHooks/authen_digest.pm
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;
}