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 to...@apache.org on 2011/04/25 21:04:58 UTC

svn commit: r1096565 - in /perl/modperl/trunk: t/protocol/TestProtocol/pseudo_http.pm xs/Apache2/RequestUtil/Apache2__RequestUtil.h

Author: torsten
Date: Mon Apr 25 19:04:58 2011
New Revision: 1096565

URL: http://svn.apache.org/viewvc?rev=1096565&view=rev
Log:
remove hard coded AuthType and AuthName from Apache2__RequestUtil.h

Modified:
    perl/modperl/trunk/t/protocol/TestProtocol/pseudo_http.pm
    perl/modperl/trunk/xs/Apache2/RequestUtil/Apache2__RequestUtil.h

Modified: perl/modperl/trunk/t/protocol/TestProtocol/pseudo_http.pm
URL: http://svn.apache.org/viewvc/perl/modperl/trunk/t/protocol/TestProtocol/pseudo_http.pm?rev=1096565&r1=1096564&r2=1096565&view=diff
==============================================================================
--- perl/modperl/trunk/t/protocol/TestProtocol/pseudo_http.pm (original)
+++ perl/modperl/trunk/t/protocol/TestProtocol/pseudo_http.pm Mon Apr 25 19:04:58 2011
@@ -165,6 +165,8 @@ __END__
           AuthUserFile @ServerRoot@/htdocs/protocols/basic-auth
       </IfModule>
 
+      AuthName TestProtocol::pseudo_http
+      AuthType Basic
       Require user stas
       Satisfy any
 

Modified: perl/modperl/trunk/xs/Apache2/RequestUtil/Apache2__RequestUtil.h
URL: http://svn.apache.org/viewvc/perl/modperl/trunk/xs/Apache2/RequestUtil/Apache2__RequestUtil.h?rev=1096565&r1=1096564&r2=1096565&view=diff
==============================================================================
--- perl/modperl/trunk/xs/Apache2/RequestUtil/Apache2__RequestUtil.h (original)
+++ perl/modperl/trunk/xs/Apache2/RequestUtil/Apache2__RequestUtil.h Mon Apr 25 19:04:58 2011
@@ -154,12 +154,6 @@ int mpxs_Apache2__RequestRec_location_me
                                                     &core_module);
 
         if (strEQ(entry->d, location)) {
-            if (!entry->ap_auth_type) {
-                entry->ap_auth_type = "Basic";
-            }
-            if (!entry->ap_auth_name) {
-                entry->ap_auth_name = apr_pstrdup(p, location);
-            }
             r->per_dir_config =
                 ap_merge_per_dir_configs(p, s->lookup_defaults, sec[i]);
             return 1;