httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ge...@apache.org
Subject cvs commit: httpd-2.0/server config.c
Date Wed, 18 Feb 2004 15:44:48 GMT
geoff       2004/02/18 07:44:48

  Modified:    .        CHANGES
               server   config.c
  Log:
  fix "Expected </Foo>> but saw </Foo>" errors in nested,
  argumentless containers.
  
  Revision  Changes    Path
  1.1405    +4 -0      httpd-2.0/CHANGES
  
  Index: CHANGES
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/CHANGES,v
  retrieving revision 1.1404
  retrieving revision 1.1405
  diff -u -r1.1404 -r1.1405
  --- CHANGES	16 Feb 2004 17:57:26 -0000	1.1404
  +++ CHANGES	18 Feb 2004 15:44:47 -0000	1.1405
  @@ -2,6 +2,10 @@
   
     [Remove entries to the current 2.0 section below, when backported]
   
  +  *) fix "Expected </Foo>> but saw </Foo>" errors in nested,
  +     argumentless containers.
  +     ["Philippe M. Chiasson" <gozer cpan.org>]
  +
     *) mod_isapi: GetServerVariable returned improperly terminated header 
        fields given "ALL_HTTP" or "ALL_RAW".  PR 20656.
        [Jesse Pelton <jsp pkc.com>]
  
  
  
  1.173     +4 -0      httpd-2.0/server/config.c
  
  Index: config.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/server/config.c,v
  retrieving revision 1.172
  retrieving revision 1.173
  diff -u -r1.172 -r1.173
  --- config.c	9 Feb 2004 20:40:49 -0000	1.172
  +++ config.c	18 Feb 2004 15:44:48 -0000	1.173
  @@ -1287,6 +1287,10 @@
               else {
                   const char *msg;
   
  +                if (*args == '\0' && cmd_name[strlen(cmd_name) - 1] == '>')
{
  +                    cmd_name[strlen(cmd_name) - 1] = '\0';
  +                }
  +
                   if ((msg = ap_soak_end_container(cmd, cmd_name)) != NULL) {
                       return msg;
                   }
  
  
  

Mime
View raw message