httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jwool...@apache.org
Subject cvs commit: httpd-2.0/support split-logfile.in
Date Sat, 15 Jun 2002 20:35:14 GMT
jwoolley    2002/06/15 13:35:14

  Modified:    support  split-logfile.in
  Log:
  Forward-port a change from 1.3
  
  Reminded by:  Joshua Slive
  
  Revision  Changes    Path
  1.3       +5 -0      httpd-2.0/support/split-logfile.in
  
  Index: split-logfile.in
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/support/split-logfile.in,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -d -u -r1.2 -r1.3
  --- split-logfile.in	13 Mar 2002 20:48:06 -0000	1.2
  +++ split-logfile.in	15 Jun 2002 20:35:14 -0000	1.3
  @@ -79,6 +79,11 @@
       #
       $vhost = lc ($vhost) or "access";
       #
  +    # if the vhost contains a "/" or "\", it is illegal so just use 
  +    # the default log to avoid any security issues due if it is interprted
  +    # as a directory separator.
  +    if ($vhost =~ m#[/\\]#) { $vhost = "access" }
  +    #
       # If the log file for this virtual host isn't opened
       # yet, do it now.
       #
  
  
  

Mime
View raw message