Replace ellipsis character in Linux inventory plugin

This commit is contained in:
fermin831 2018-04-18 10:34:19 +02:00
parent 3c8914a331
commit 38fc81da52
1 changed files with 2 additions and 0 deletions

View File

@ -201,6 +201,8 @@ sub get_software_module_data ($$) {
$module{'program'} =~ s/;/,/g;
$module{'version'} =~ s/;/,/g;
$module{'description'} =~ s/;/,/g;
# Replace ellipsis character to avoid encoding errors
$module{'description'} =~ s/…/.../g;
$module{'_keys'} = ['program', 'version','description'];
push (@{$modules->{$name}}, \%module);
}