akosut      96/07/01 11:10:30

  Modified:    src       http_request.c
  Log:
  Further fix the multi-method Limit protection problem.
  
  Submitted by: [EMAIL PROTECTED]
  Reviewed by: Alexei Kosut, Robert S. Thau
  
  Revision  Changes    Path
  1.11      +5 -2      apache/src/http_request.c
  
  Index: http_request.c
  ===================================================================
  RCS file: /export/home/cvs/apache/src/http_request.c,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -C3 -r1.10 -r1.11
  *** http_request.c    1996/06/17 20:28:19     1.10
  --- http_request.c    1996/07/01 18:10:29     1.11
  ***************
  *** 464,469 ****
  --- 464,472 ----
        return rnew;
    }
    
  + 
  + static int some_auth_required (request_rec *r);
  + 
    request_rec *sub_req_lookup_uri (char *new_file, request_rec *r)
    {
        request_rec *rnew;
  ***************
  *** 510,516 ****
         */
        
        if ((res = directory_walk (rnew))
  !     || (!auth_type (rnew) ? 0 :
             ((res = check_user_id (rnew)) || (res = check_auth (rnew))))
        || (res = check_access (rnew))
        || (res = find_types (rnew))
  --- 513,519 ----
         */
        
        if ((res = directory_walk (rnew))
  !     || (!some_auth_required (rnew) ? 0 :
             ((res = check_user_id (rnew)) || (res = check_auth (rnew))))
        || (res = check_access (rnew))
        || (res = find_types (rnew))
  ***************
  *** 553,559 ****
        
        if ((res = directory_walk (rnew))
        || (res = check_access (rnew))
  !     || (!auth_type (rnew) ? 0 :
             ((res = check_user_id (rnew)) && (res = check_auth (rnew))))
        || (res = find_types (rnew))
        || (res = run_fixups (rnew))
  --- 556,562 ----
        
        if ((res = directory_walk (rnew))
        || (res = check_access (rnew))
  !     || (!some_auth_required (rnew) ? 0 :
             ((res = check_user_id (rnew)) && (res = check_auth (rnew))))
        || (res = find_types (rnew))
        || (res = run_fixups (rnew))
  
  
  

Reply via email to