diff --git a/pandora_server/ChangeLog b/pandora_server/ChangeLog index 69288c9f44..6ae53eb2ba 100644 --- a/pandora_server/ChangeLog +++ b/pandora_server/ChangeLog @@ -1,3 +1,8 @@ +2014-07-08 Vanessa Gil + + * util/pandora_manage.pl: Fixed problem + with entities. + 2014-07-08 Vanessa Gil * util/pandora_manage.pl: Fixed help screen. diff --git a/pandora_server/util/pandora_manage.pl b/pandora_server/util/pandora_manage.pl index 7e8f7f8a3e..3285b4cd95 100755 --- a/pandora_server/util/pandora_manage.pl +++ b/pandora_server/util/pandora_manage.pl @@ -4044,7 +4044,9 @@ sub cli_create_local_component() { my %parameters; $parameters{'name'} = safe_input($component_name); - $parameters{'data'} = safe_input($data); + my $data_aux = safe_input($data); + $data_aux =~ s/\n/ /g; + $parameters{'data'} = $data_aux; $parameters{'description'} = safe_input($description) unless !defined ($description); $parameters{'id_os'} = $id_os unless !defined ($id_os); $parameters{'type'} = $type unless !defined ($type);