You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by Alexei Kosut <ak...@hyperreal.com> on 1996/06/21 22:12:10 UTC

cvs commit: apache/src CHANGES mod_dir.c

akosut      96/06/21 13:12:09

  Modified:    src       CHANGES mod_dir.c
  Log:
  Allow ScanHTMLTitles directive to work with lowercase <title> tags.
  
  Reviewed by: Ben Laurie, Randy Terbush
  
  Revision  Changes    Path
  1.33      +2 -0      apache/src/CHANGES
  
  Index: CHANGES
  ===================================================================
  RCS file: /export/home/cvs/apache/src/CHANGES,v
  retrieving revision 1.32
  retrieving revision 1.33
  diff -C3 -r1.32 -r1.33
  *** CHANGES	1996/06/17 20:28:18	1.32
  --- CHANGES	1996/06/21 20:12:06	1.33
  ***************
  *** 1,3 ****
  --- 1,5 ----
  +   *) Allow ScanHTMLTitles to work with lowercase <title> tags.
  + 
    Changes with Apache 1.1b4:
    
      *) r->bytes_sent variable restored
  
  
  
  1.10      +1 -1      apache/src/mod_dir.c
  
  Index: mod_dir.c
  ===================================================================
  RCS file: /export/home/cvs/apache/src/mod_dir.c,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -C3 -r1.9 -r1.10
  *** mod_dir.c	1996/06/14 00:03:42	1.9
  --- mod_dir.c	1996/06/21 20:12:07	1.10
  ***************
  *** 470,476 ****
            n = fread(titlebuf,sizeof(char),MAX_STRING_LEN - 1,thefile);
            titlebuf[n] = '\0';
            for(x=0,p=0;titlebuf[x];x++) {
  !             if(titlebuf[x] == find[p]) {
                    if(!find[++p]) {
                        if((p = ind(&titlebuf[++x],'<')) != -1)
                            titlebuf[x+p] = '\0';
  --- 470,476 ----
            n = fread(titlebuf,sizeof(char),MAX_STRING_LEN - 1,thefile);
            titlebuf[n] = '\0';
            for(x=0,p=0;titlebuf[x];x++) {
  !             if(toupper(titlebuf[x]) == find[p]) {
                    if(!find[++p]) {
                        if((p = ind(&titlebuf[++x],'<')) != -1)
                            titlebuf[x+p] = '\0';