httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@apache.org
Subject cvs commit: httpd-2.0/server util.c
Date Wed, 01 Sep 2004 15:14:33 GMT
trawick     2004/09/01 08:14:33

  Modified:    .        CHANGES
               server   util.c
  Log:
  Fix the handling of URIs containing %2F when AllowEncodedSlashes
  is enabled.  Previously, such urls would still be rejected with
  404.
  
  Revision  Changes    Path
  1.1579    +4 -0      httpd-2.0/CHANGES
  
  Index: CHANGES
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/CHANGES,v
  retrieving revision 1.1578
  retrieving revision 1.1579
  diff -u -r1.1578 -r1.1579
  --- CHANGES	28 Aug 2004 16:08:21 -0000	1.1578
  +++ CHANGES	1 Sep 2004 15:14:32 -0000	1.1579
  @@ -2,6 +2,10 @@
   
     [Remove entries to the current 2.0 section below, when backported]
   
  +  *) Fix the handling of URIs containing %2F when AllowEncodedSlashes
  +     is enabled.  Previously, such urls would still be rejected with
  +     404.  [Jeff Trawick]
  +
     *) mod_rewrite: Fix query string handling for proxied URLs. PR 14518.
        [michael teitler <michael.teitler cetelem.fr>,
         Jan Kratochvil <rcpt-dev.AT.httpd.apache.org jankratochvil.net>]
  
  
  
  1.148     +1 -1      httpd-2.0/server/util.c
  
  Index: util.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/server/util.c,v
  retrieving revision 1.147
  retrieving revision 1.148
  diff -u -r1.147 -r1.148
  --- util.c	9 Feb 2004 20:40:49 -0000	1.147
  +++ util.c	1 Sep 2004 15:14:33 -0000	1.148
  @@ -1581,7 +1581,7 @@
               else {
                   char decoded;
                   decoded = x2c(y + 1);
  -                if (IS_SLASH(decoded)) {
  +                if (!IS_SLASH(decoded)) {
                       *x++ = *y++;
                       *x = *y;
                   }
  
  
  

Mime
View raw message