httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject cvs commit: apache-1.3/src/modules/standard mod_negotiation.c
Date Wed, 18 Dec 2002 22:24:41 GMT
wrowe       2002/12/18 14:24:41

  Modified:    src/modules/standard mod_negotiation.c
  Log:
    Resolve 80% of the HEADER/README not recognized on Win32 bug (PR 7300).
  
    Since Apache 1.3 does NOT normalize file names, but instead always lower
    cases the names, HEADER.txt or HEADER.html would never, ever be noted
    as a match.  This is different from Apache 2.0, which can deal with the
    proper names and match only HEADER.* or header.* files based on the
    origin filename.
  
  Revision  Changes    Path
  1.113     +4 -0      apache-1.3/src/modules/standard/mod_negotiation.c
  
  Index: mod_negotiation.c
  ===================================================================
  RCS file: /home/cvs/apache-1.3/src/modules/standard/mod_negotiation.c,v
  retrieving revision 1.112
  retrieving revision 1.113
  diff -u -r1.112 -r1.113
  --- mod_negotiation.c	13 Mar 2002 21:05:34 -0000	1.112
  +++ mod_negotiation.c	18 Dec 2002 22:24:41 -0000	1.113
  @@ -926,7 +926,11 @@
           request_rec *sub_req;
   
           /* Do we have a match? */
  +#ifdef CASE_BLIND_FILESYSTEM
  +        if (strncasecmp(dir_entry->d_name, filp, prefix_len)) {
  +#else
           if (strncmp(dir_entry->d_name, filp, prefix_len)) {
  +#endif
               continue;
           }
           if (dir_entry->d_name[prefix_len] != '.') {
  
  
  

Mime
View raw message