You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@vcl.apache.org by fa...@apache.org on 2008/12/16 19:34:07 UTC

svn commit: r727110 - /incubator/vcl/trunk/managementnode/lib/VCL/utils.pm

Author: fapeeler
Date: Tue Dec 16 10:34:06 2008
New Revision: 727110

URL: http://svn.apache.org/viewvc?rev=727110&view=rev
Log:
utils: extended regex in BEGIN for server variable to handle hyphens in database server name

Modified:
    incubator/vcl/trunk/managementnode/lib/VCL/utils.pm

Modified: incubator/vcl/trunk/managementnode/lib/VCL/utils.pm
URL: http://svn.apache.org/viewvc/incubator/vcl/trunk/managementnode/lib/VCL/utils.pm?rev=727110&r1=727109&r2=727110&view=diff
==============================================================================
--- incubator/vcl/trunk/managementnode/lib/VCL/utils.pm (original)
+++ incubator/vcl/trunk/managementnode/lib/VCL/utils.pm Tue Dec 16 10:34:06 2008
@@ -337,7 +337,7 @@
 				$DATABASE = $1;
 			}
 			#name of database server
-			if ($l =~ /^server=([.a-zA-Z0-9]*)/) {
+			if ($l =~ /^server=([-.a-zA-Z0-9]*)/) {
 				$SERVER = $1;
 			}
 			#write user name