httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marc Slemko <m...@hyperreal.com>
Subject cvs commit: apache/src mod_include.c
Date Mon, 17 Feb 1997 10:56:20 GMT
marc        97/02/17 02:56:20

  Modified:    src       mod_include.c
  Log:
  Modify SSI parsing to treat everything after a '{' up to the '}' as
  part of the variable name.
  
  Submitted by: Ben Laurie
  Reviewed by: Roy Fielding, Dean Gaudet, Marc Slemko
  
  Revision  Changes    Path
  1.23      +1 -1      apache/src/mod_include.c
  
  Index: mod_include.c
  ===================================================================
  RCS file: /export/home/cvs/apache/src/mod_include.c,v
  retrieving revision 1.22
  retrieving revision 1.23
  diff -C3 -r1.22 -r1.23
  *** mod_include.c	1997/02/17 05:22:57	1.22
  --- mod_include.c	1997/02/17 10:56:19	1.23
  ***************
  *** 425,431 ****
                    if (braces == 1) {
                        if (*in == '}') break;
                    }
  !                 if (! (isalpha((int)*in) || (*in == '_') || isdigit((int)*in)) ) break;
                    if (vtlen < (MAX_STRING_LEN - 1)) vtext[vtlen++] = *in;
                    var[vlen++] = *in++;
                }
  --- 425,431 ----
                    if (braces == 1) {
                        if (*in == '}') break;
                    }
  !                 else if (! (isalpha((int)*in) || (*in == '_') || isdigit((int)*in)) )
break;
                    if (vtlen < (MAX_STRING_LEN - 1)) vtext[vtlen++] = *in;
                    var[vlen++] = *in++;
                }
  
  
  

Mime
View raw message