httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From b..@hyperreal.org
Subject cvs commit: apache-1.3/src/main http_request.c
Date Tue, 09 Nov 1999 18:02:26 GMT
ben         99/11/09 10:02:24

  Modified:    src/main http_request.c
  Log:
  Make sure that an error document that needs auth but hasn't got an auth type
  still reports a cascaded error.
  
  Revision  Changes    Path
  1.151     +1 -1      apache-1.3/src/main/http_request.c
  
  Index: http_request.c
  ===================================================================
  RCS file: /export/home/cvs/apache-1.3/src/main/http_request.c,v
  retrieving revision 1.150
  retrieving revision 1.151
  diff -u -r1.150 -r1.151
  --- http_request.c	1999/10/21 20:44:43	1.150
  +++ http_request.c	1999/11/09 18:02:19	1.151
  @@ -1176,7 +1176,7 @@
       case SATISFY_ANY:
           if (((access_status = ap_check_access(r)) != 0) || !ap_auth_type(r)) {
               if (!ap_some_auth_required(r)) {
  -                decl_die(access_status, ap_auth_type(r)
  +                decl_die(access_status ? access_status : HTTP_INTERNAL_SERVER_ERROR, ap_auth_type(r)
   		    ? "check access"
   		    : "perform authentication. AuthType not set!", r);
                   return;
  
  
  

Mime
View raw message