Merge branch 'ent-2118-EXT-5537-Fallo-al-procesar-XML-de-Inventario-en-el-Dataserver' into 'develop'

Replace ellipsis character in Linux inventory plugin

See merge request artica/pandorafms!1432
This commit is contained in:
vgilc 2018-04-18 11:10:13 +02:00
commit b2dadfbda8
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);
}