On Fri, 24 Aug 2001, Cliff Woolley wrote:
funny, i tried committing a change to mod_include.c and up-to-date failed,
was the same indentation fix. then i was going to suggest this patch to
cure the same problem, since any valid (non "generated") uri should start
with a '/'.
Index: modules/filters/mod_include.c
===================================================================
RCS file: /home/cvs/httpd-2.0/modules/filters/mod_include.c,v
retrieving revision 1.131
diff -u -r1.131 mod_include.c
--- modules/filters/mod_include.c 2001/08/24 04:50:49 1.131
+++ modules/filters/mod_include.c 2001/08/24 05:22:00
@@ -859,7 +859,7 @@
for (q = p; q != NULL; q = q->prev) {
if ((q->filename && rr->filename &&
(strcmp(q->filename, rr->filename) == 0)) ||
- (strcmp(q->uri, rr->uri) == 0))
+ ((*q->uri == '/') && (strcmp(q->uri, rr->uri) == 0)))
{
founddupe = 1;
break;