[interchange-cvs] interchange - kwalsh modified lib/Vend/Config.pm

interchange-cvs at icdevgroup.org interchange-cvs at icdevgroup.org
Sun Sep 2 17:42:36 EDT 2007


User:      kwalsh
Date:      2007-09-02 21:42:36 GMT
Modified:  lib/Vend Config.pm
Log:
    * Forgot the leading dot at the start of the subdomain list regex.

Revision  Changes    Path
2.223     +3 -3      interchange/lib/Vend/Config.pm


rev 2.223, prev_rev 2.222
Index: Config.pm
===================================================================
RCS file: /var/cvs/interchange/lib/Vend/Config.pm,v
retrieving revision 2.222
retrieving revision 2.223
diff -u -r2.222 -r2.223
--- Config.pm	2 Sep 2007 19:21:04 -0000	2.222
+++ Config.pm	2 Sep 2007 21:42:36 -0000	2.223
@@ -1,6 +1,6 @@
 # Vend::Config - Configure Interchange
 #
-# $Id: Config.pm,v 2.222 2007/09/02 19:21:04 kwalsh Exp $
+# $Id: Config.pm,v 2.223 2007/09/02 21:42:36 kwalsh Exp $
 #
 # Copyright (C) 2002-2007 Interchange Development Group
 # Copyright (C) 1996-2002 Red Hat, Inc.
@@ -54,7 +54,7 @@
 use Vend::Data;
 use Vend::Cron;
 
-$VERSION = substr(q$Revision: 2.222 $, 10);
+$VERSION = substr(q$Revision: 2.223 $, 10);
 
 my %CDname;
 my %CPname;
@@ -3574,7 +3574,7 @@
 		$val =~ s/[\s,]+$//;
 		next unless $val;
 
-		$val = '(?:' . join('|',split('[\s,]+',$val)) . ")\\.$key";
+		$val = '\.(?:' . join('|',split('[\s,]+',$val)) . ")\\.$key";
 		$Global::CountrySubdomains->{$key} = qr/$val/i;
 	}
 }








More information about the interchange-cvs mailing list