--- rpms/e-smith-hosts/sme9/e-smith-hosts-2.4.0.comment_hostname_validator.patch 2015/01/29 12:29:22 1.5 +++ rpms/e-smith-hosts/sme9/e-smith-hosts-2.4.0.comment_hostname_validator.patch 2015/02/06 21:37:09 1.6 @@ -8,7 +8,7 @@ diff -Nur e-smith-hosts-2.4.0.old8723/ro + { + my $comment = $host->prop('Comment'); + next unless $comment; -+ $comment =~ s/['"]//g; ++ $comment =~ s/[^a-zA-Z0-9\ \_\-\,\.]+//g; + $host->merge_props(Comment => $comment); + } +}