httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From do...@apache.org
Subject cvs commit: httpd-2.0/modules/filters mod_include.c
Date Fri, 24 Aug 2001 06:47:35 GMT
dougm       01/08/23 23:47:35

  Modified:    modules/filters mod_include.c
  Log:
  fix bogus include recursion error when q->uri and rr->uri are both:
  "INTERNALLY GENERATED file-relative req"
  
  Revision  Changes    Path
  1.132     +1 -1      httpd-2.0/modules/filters/mod_include.c
  
  Index: mod_include.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/filters/mod_include.c,v
  retrieving revision 1.131
  retrieving revision 1.132
  diff -u -r1.131 -r1.132
  --- mod_include.c	2001/08/24 04:50:49	1.131
  +++ mod_include.c	2001/08/24 06:47:35	1.132
  @@ -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;
  
  
  

Mime
View raw message