httpd-test-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject cvs commit: httpd-test/perl-framework/Apache-Test/lib/Apache TestConfig.pm
Date Wed, 13 Aug 2003 19:02:51 GMT
stas        2003/08/13 12:02:51

  Modified:    perl-framework/Apache-Test/lib/Apache TestConfig.pm
  Log:
  fix the parse_vhost pattern not to interpter perl module names (e.g. <VirtualHost
  TestHooks::stacked_handlers2>) as <VirtualHost servername:module>
  
  Revision  Changes    Path
  1.171     +1 -1      httpd-test/perl-framework/Apache-Test/lib/Apache/TestConfig.pm
  
  Index: TestConfig.pm
  ===================================================================
  RCS file: /home/cvs/httpd-test/perl-framework/Apache-Test/lib/Apache/TestConfig.pm,v
  retrieving revision 1.170
  retrieving revision 1.171
  diff -u -r1.170 -r1.171
  --- TestConfig.pm	12 Aug 2003 23:36:51 -0000	1.170
  +++ TestConfig.pm	13 Aug 2003 19:02:51 -0000	1.171
  @@ -928,7 +928,7 @@
       my($self, $line) = @_;
   
       my($indent, $module, $namebased);
  -    if ($line =~ /^(\s*)<VirtualHost\s+(?:_default_:|([^:]+):)?(.*?)\s*>\s*$/) {
  +    if ($line =~ /^(\s*)<VirtualHost\s+(?:_default_:|([^:]+):(?!:))?(.*?)\s*>\s*$/)
{
           $indent    = $1 || "";
           $namebased = $2 || "";
           $module    = $3;
  
  
  

Mime
View raw message