You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by nd...@apache.org on 2004/01/28 23:30:19 UTC

cvs commit: httpd-2.0/modules/metadata mod_setenvif.c

nd          2004/01/28 14:30:19

  Modified:    modules/metadata mod_setenvif.c
  Log:
  catch another edge case
  
  Revision  Changes    Path
  1.46      +7 -2      httpd-2.0/modules/metadata/mod_setenvif.c
  
  Index: mod_setenvif.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/metadata/mod_setenvif.c,v
  retrieving revision 1.45
  retrieving revision 1.46
  diff -u -u -r1.45 -r1.46
  --- mod_setenvif.c	1 Jan 2004 13:26:20 -0000	1.45
  +++ mod_setenvif.c	28 Jan 2004 22:30:19 -0000	1.46
  @@ -259,8 +259,13 @@
               in_escape = 0;
               break;
           case '\\':
  -            in_escape = 1;
  -            escapes_found = 1;
  +            if (!in_escape) {
  +                in_escape = 1;
  +                escapes_found = 1;
  +            }
  +            else {
  +                in_escape = 0;
  +            }
               break;
           default:
               if (in_escape) {