mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-30 09:15:15 +02:00
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:
commit
b2dadfbda8
@ -201,6 +201,8 @@ sub get_software_module_data ($$) {
|
|||||||
$module{'program'} =~ s/;/,/g;
|
$module{'program'} =~ s/;/,/g;
|
||||||
$module{'version'} =~ s/;/,/g;
|
$module{'version'} =~ s/;/,/g;
|
||||||
$module{'description'} =~ s/;/,/g;
|
$module{'description'} =~ s/;/,/g;
|
||||||
|
# Replace ellipsis character to avoid encoding errors
|
||||||
|
$module{'description'} =~ s/…/.../g;
|
||||||
$module{'_keys'} = ['program', 'version','description'];
|
$module{'_keys'} = ['program', 'version','description'];
|
||||||
push (@{$modules->{$name}}, \%module);
|
push (@{$modules->{$name}}, \%module);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user