httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@apache.org
Subject cvs commit: httpd-2.0/modules/generators mod_info.c
Date Wed, 10 Jan 2001 19:23:27 GMT
trawick     01/01/10 11:23:27

  Modified:    modules/generators mod_info.c
  Log:
  only handle the request if server-info is the handler
  Submitted by:	Greg Stein
  
  Revision  Changes    Path
  1.20      +3 -0      httpd-2.0/modules/generators/mod_info.c
  
  Index: mod_info.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/generators/mod_info.c,v
  retrieving revision 1.19
  retrieving revision 1.20
  diff -u -r1.19 -r1.20
  --- mod_info.c	2001/01/10 17:31:04	1.19
  +++ mod_info.c	2001/01/10 19:23:25	1.20
  @@ -275,6 +275,9 @@
       server_rec *serv = r->server;
       int comma = 0;
   
  +    if (strcmp(r->handler, "server-info"))
  +        return DECLINED;
  +
       r->allowed |= (1 << M_GET);
       if (r->method_number != M_GET)
   	return DECLINED;
  
  
  

Mime
View raw message