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

interchange-cvs at icdevgroup.org interchange-cvs at icdevgroup.org
Thu Aug 30 19:57:53 EDT 2007


User:      kwalsh
Date:      2007-08-30 23:57:53 GMT
Modified:  lib/Vend Dispatch.pm
Log:
    * Fixed a bug in the new DomainTail regex.

Revision  Changes    Path
1.90      +3 -3      interchange/lib/Vend/Dispatch.pm


rev 1.90, prev_rev 1.89
Index: Dispatch.pm
===================================================================
RCS file: /var/cvs/interchange/lib/Vend/Dispatch.pm,v
retrieving revision 1.89
retrieving revision 1.90
diff -u -r1.89 -r1.90
--- Dispatch.pm	30 Aug 2007 23:47:16 -0000	1.89
+++ Dispatch.pm	30 Aug 2007 23:57:53 -0000	1.90
@@ -1,6 +1,6 @@
 # Vend::Dispatch - Handle Interchange page requests
 #
-# $Id: Dispatch.pm,v 1.89 2007/08/30 23:47:16 kwalsh Exp $
+# $Id: Dispatch.pm,v 1.90 2007/08/30 23:57:53 kwalsh Exp $
 #
 # Copyright (C) 2002-2007 Interchange Development Group
 # Copyright (C) 2002 Mike Heins <mike at perusion.net>
@@ -26,7 +26,7 @@
 package Vend::Dispatch;
 
 use vars qw($VERSION);
-$VERSION = substr(q$Revision: 1.89 $, 10);
+$VERSION = substr(q$Revision: 1.90 $, 10);
 
 use POSIX qw(strftime);
 use Vend::Util;
@@ -884,7 +884,7 @@
     $CGI::ip   = $CGI::remote_addr;
 
 	if($Global::DomainTail and $host) {
-		my $level = ($host =~ m{(?:\.
+		my $level = ($host =~ m{\.(?:
 		    (?:com|edu|gov|net|org)\.al |
 		    (?:ac|gov|mil|name|net|org|pro|sch)\.ae |
 		    (?:bank|com|edu|gov|hotel|law|music|net|org|tv)\.af |








More information about the interchange-cvs mailing list