1 |
slords |
1.1 |
diff -Nur -x '*.orig' -x '*.rej' e-smith-samba-1.14.0/root/usr/lib/perl5/site_perl/esmith/FormMagick/Panel/workgroup.pm mezzanine_patched_e-smith-samba-1.14.0/root/usr/lib/perl5/site_perl/esmith/FormMagick/Panel/workgroup.pm |
2 |
|
|
--- e-smith-samba-1.14.0/root/usr/lib/perl5/site_perl/esmith/FormMagick/Panel/workgroup.pm 2003-04-10 13:14:32.000000000 -0600 |
3 |
|
|
+++ mezzanine_patched_e-smith-samba-1.14.0/root/usr/lib/perl5/site_perl/esmith/FormMagick/Panel/workgroup.pm 2007-01-10 07:49:22.000000000 -0700 |
4 |
|
|
@@ -154,7 +154,7 @@ |
5 |
|
|
my $workgroup = lc(shift); |
6 |
|
|
|
7 |
|
|
my $server = lc($fm->cgi->param('ServerName')); |
8 |
|
|
- return "INVALID_WORKGROUP" unless ( $workgroup =~ /^([a-zA-Z][\-\w\.]*)$/ ); |
9 |
|
|
+ return "INVALID_WORKGROUP" unless ( $workgroup =~ /^([a-zA-Z0-9][\-\w\.]*)$/ ); |
10 |
|
|
return 'INVALID_WORKGROUP_MATCHES_SERVERNAME' if ( $server eq $workgroup); |
11 |
|
|
return ('OK'); |
12 |
|
|
|