1 |
vip-ire |
1.1 |
diff -Nur e-smith-hosts-2.4.0/root/usr/share/perl5/vendor_perl/esmith/FormMagick/Panel/hostentries.pm e-smith-hosts-2.4.0_bz9177/root/usr/share/perl5/vendor_perl/esmith/FormMagick/Panel/hostentries.pm |
2 |
|
|
--- e-smith-hosts-2.4.0/root/usr/share/perl5/vendor_perl/esmith/FormMagick/Panel/hostentries.pm 2016-01-06 16:40:35.746506087 +0100 |
3 |
|
|
+++ e-smith-hosts-2.4.0_bz9177/root/usr/share/perl5/vendor_perl/esmith/FormMagick/Panel/hostentries.pm 2016-01-06 16:41:10.088504130 +0100 |
4 |
|
|
@@ -428,7 +428,7 @@ |
5 |
|
|
return $self->error('HOSTNAME_VALIDATOR_ERROR'); |
6 |
|
|
} |
7 |
|
|
|
8 |
|
|
- unless ( $comment =~ /^([a-zA-Z0-9][\_\.\-,A-Za-z0-9\s]*)$/ ) |
9 |
|
|
+ unless ( $comment =~ /^([a-zA-Z0-9][\_\.\-,A-Za-z0-9\s]*)$/ || $comment eq '' ) |
10 |
|
|
{ |
11 |
|
|
return $self->error('HOSTNAME_COMMENT_ERROR'); |
12 |
|
|
} |