marc 97/02/19 00:18:58
Modified: src CHANGES mod_include.c
Log:
Modify mod_include escaping so a '\' only signifies an escaped
character if the next character is one that needs escaping.
Reviewed by: Dean Gaudet, Roy Fielding, Marc Slemko
Submitted by: Ben Laurie
Revision Changes Path
1.169 +4 -0 apache/src/CHANGES
Index: CHANGES
===================================================================
RCS file: /export/home/cvs/apache/src/CHANGES,v
retrieving revision 1.168
retrieving revision 1.169
diff -C3 -r1.168 -r1.169
*** CHANGES 1997/02/18 14:41:28 1.168
--- CHANGES 1997/02/19 08:18:56 1.169
***************
*** 1,5 ****
--- 1,9 ----
Changes with Apache 1.2b7
+ *) Modify mod_include escaping so a '\' only signifies an escaped
+ character if the next character is one that needs
+ escaping. [Ben Laurie]
+
*) Eliminated possible infinite loop in mod_imap when relative URLs are
used with a 'base' directive that does not have a '/' in it.
[Marc Slemko, reported by Onno Witvliet <[EMAIL PROTECTED]>]
1.24 +4 -1 apache/src/mod_include.c
Index: mod_include.c
===================================================================
RCS file: /export/home/cvs/apache/src/mod_include.c,v
retrieving revision 1.23
retrieving revision 1.24
diff -C3 -r1.23 -r1.24
*** mod_include.c 1997/02/17 10:56:19 1.23
--- mod_include.c 1997/02/19 08:18:56 1.24
***************
*** 404,410 ****
while ((ch = *in++) != '\0') {
switch(ch) {
case '\\':
! *next++ = (*in != '\0') ? *in++ : '\0';
break;
case '$':
{
--- 404,413 ----
while ((ch = *in++) != '\0') {
switch(ch) {
case '\\':
! if(*in == '$')
! *next++=*in++;
! else
! *next++=ch;
break;
case '$':
{