httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From c...@apache.org
Subject cvs commit: httpd-2.0/server request.c
Date Fri, 25 Oct 2002 16:27:38 GMT
coar        2002/10/25 09:27:38

  Modified:    .        CHANGES
               server   request.c
  Log:
  more info is better than less..
  
  Revision  Changes    Path
  1.963     +4 -0      httpd-2.0/CHANGES
  
  Index: CHANGES
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/CHANGES,v
  retrieving revision 1.962
  retrieving revision 1.963
  diff -u -u -r1.962 -r1.963
  --- CHANGES	25 Oct 2002 15:18:53 -0000	1.962
  +++ CHANGES	25 Oct 2002 16:27:37 -0000	1.963
  @@ -1,5 +1,9 @@
   Changes with Apache 2.0.44
   
  +  *) Emit a message to the error log when we return 404 because
  +     the URI contained '%2f'.  (This was previously nastily silent
  +     and difficult to debug.)  [Ken Coar]
  +
     *) Fix streaming output from an nph- CGI script.  CGI:IRC now
        works.  PR 8482  [Jeff Trawick]
   
  
  
  
  1.116     +6 -0      httpd-2.0/server/request.c
  
  Index: request.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/server/request.c,v
  retrieving revision 1.115
  retrieving revision 1.116
  diff -u -u -r1.115 -r1.116
  --- request.c	5 Sep 2002 06:59:14 -0000	1.115
  +++ request.c	25 Oct 2002 16:27:38 -0000	1.116
  @@ -149,6 +149,12 @@
       if (!r->proxyreq && r->parsed_uri.path) {
           access_status = ap_unescape_url(r->parsed_uri.path);
           if (access_status) {
  +            if (access_status == HTTP_NOT_FOUND) {
  +                ap_log_rerror(APLOG_MARK, APLOG_INFO, 0, r,
  +                              "found %2f (encoded '/') in URI "
  +                              "(decoded='%s'), returning 404"
  +                              r->parsed_uri.path);
  +            }
               return access_status;
           }
       }
  
  
  

Mime
View raw message