Parent Directory | Revision Log | Revision Graph | Patch
Revision 1.5 by stephdl, Thu Jan 29 12:29:22 2015 UTC | Revision 1.6 by stephdl, Fri Feb 6 21:37:09 2015 UTC | |
---|---|---|
# | Line 8 diff -Nur e-smith-hosts-2.4.0.old8723/ro | Line 8 diff -Nur e-smith-hosts-2.4.0.old8723/ro |
8 | + { | + { |
9 | + my $comment = $host->prop('Comment'); | + my $comment = $host->prop('Comment'); |
10 | + next unless $comment; | + next unless $comment; |
11 | + $comment =~ s/['"]//g; | + $comment =~ s/[^a-zA-Z0-9\ \_\-\,\.]+//g; |
12 | + $host->merge_props(Comment => $comment); | + $host->merge_props(Comment => $comment); |
13 | + } | + } |
14 | +} | +} |
|
admin@koozali.org | ViewVC Help |
Powered by ViewVC 1.2.1 |