rse 97/07/29 08:11:52
Modified: src mod_rewrite.c
Log:
subst tabs with spaces to be consistent with coding style in this part
of the source.
Revision Changes Path
1.43 +5 -2 apache/src/mod_rewrite.c
Index: mod_rewrite.c
===================================================================
RCS file: /export/home/cvs/apache/src/mod_rewrite.c,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -r1.42 -r1.43
--- mod_rewrite.c 1997/07/28 18:23:04 1.42
+++ mod_rewrite.c 1997/07/29 15:11:50 1.43
@@ -214,7 +214,7 @@
NULL, /* [#9] log a transaction */
NULL, /* [#3] header parser */
NULL, /* child_init */
- NULL /* child_exit */
+ NULL /* child_exit */
};
/* the cache */
@@ -1784,7 +1784,10 @@
rc = (compare_lexicography(input, p->pattern+1) == -1 ? 1 : 0);
}
else if (strlen(p->pattern) > 1 && *(p->pattern) == '=') {
- rc = (strcmp(input, p->pattern+1) == 0 ? 1 : 0);
+ if (strcmp(p->pattern+1, "\"\"") == 0)
+ rc = (*input == '\0');
+ else
+ rc = (strcmp(input, p->pattern+1) == 0 ? 1 : 0);
}
else {
/* it is really a regexp pattern, so apply it */