httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@apache.org (Ralf S. Engelschall)
Subject cvs commit: apache/src CHANGES mod_info.c
Date Wed, 30 Jul 1997 15:16:53 GMT
rse         97/07/30 08:16:52

  Modified:    src       Tag: APACHE_1_2_X  CHANGES mod_info.c
  Log:
  Treat <files> container like others in mod_info.
  
  PR: 848
  Submitted by:	Marc Slemko
  Reviewed by:	Dean Gaudet, Ralf S. Engelschall, Ken Coar, Jim Jagielski
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.286.2.32 +4 -1      apache/src/CHANGES
  
  Index: CHANGES
  ===================================================================
  RCS file: /export/home/cvs/apache/src/CHANGES,v
  retrieving revision 1.286.2.31
  retrieving revision 1.286.2.32
  diff -u -r1.286.2.31 -r1.286.2.32
  --- CHANGES	1997/07/20 18:39:42	1.286.2.31
  +++ CHANGES	1997/07/30 15:16:49	1.286.2.32
  @@ -1,5 +1,8 @@
   Changes with Apache 1.2.2
  -  
  +
  +  *) Properly treat <files> container like other containers in mod_info.
  +     [Marc Slemko] PR#848
  +
     *) The proxy didn't treat the "Host:" keyword of the host header as case-
        insensitive.  The proxy would corrupt the first line of a response from
        an HTTP/0.9 server.  [Kenichi Hori <ken@d2.bs1.fc.nec.co.jp>] PR#813,814
  
  
  
  1.16.2.1  +9 -4      apache/src/mod_info.c
  
  Index: mod_info.c
  ===================================================================
  RCS file: /export/home/cvs/apache/src/mod_info.c,v
  retrieving revision 1.16
  retrieving revision 1.16.2.1
  diff -u -r1.16 -r1.16.2.1
  --- mod_info.c	1997/04/12 04:24:59	1.16
  +++ mod_info.c	1997/07/30 15:16:50	1.16.2.1
  @@ -164,15 +164,19 @@
   	int lab=0, nest=0;
   
   	while(li) {
  -		if(!strncasecmp(li->cmd,"<directory",10) || !strncasecmp(li->cmd,"<location",9)
||
  -		  !strncasecmp(li->cmd,"<limit",6)) { 
  +		if(!strncasecmp(li->cmd,"<directory",10) || 
  +		   !strncasecmp(li->cmd,"<location",9) ||
  +		   !strncasecmp(li->cmd,"<limit",6) ||
  +		   !strncasecmp(li->cmd,"<files",6)) { 
   			if(nest) li_se=li;
   			else li_st=li; 
   			li=li->next; 
   			nest++;
   			continue; 
   		} else if(nest && (!strncasecmp(li->cmd,"</limit",7) ||
  -		  !strncasecmp(li->cmd,"</location",10) || !strncasecmp(li->cmd,"</directory",11)))
{ 
  +		                   !strncasecmp(li->cmd,"</location",10) || 
  +		                   !strncasecmp(li->cmd,"</directory",11) ||
  +		                   !strncasecmp(li->cmd,"</files",7))) { 
   			if(block_start) {
   				if((nest==1 && block_start==li_st) || (nest==2 && block_start==li_se))
{
   					rputs("<dd><tt>",r);
  @@ -220,7 +224,8 @@
   					  && (strncasecmp(li->cmd,"<directory",10) &&
   					  strncasecmp(li->cmd,"<location",9) && strncasecmp(li->cmd,"<limit",6)
&&
   					  strncasecmp(li->cmd,"</limit",7) && strncasecmp(li->cmd,"</location",10)
&&
  -					  strncasecmp(li->cmd,"</directory",11))) {
  +					  strncasecmp(li->cmd,"</directory",11) &&
  +					  strncasecmp(li->cmd,"</files",7))) {
   						rputs("<dd><tt>",r);
   						rputs(mod_info_html_cmd_string(li_st->cmd),r);
   						rputs(" ",r);
  
  
  

Mime
View raw message