mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-09-25 10:59:15 +02:00
Replace ellipsis character in Linux inventory plugin
This commit is contained in:
parent
3c8914a331
commit
38fc81da52
@ -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