From 7da74f9b7c245ed86afddcd15774c99a681990b9 Mon Sep 17 00:00:00 2001 From: Ramon Novoa Date: Tue, 21 Jun 2016 15:22:00 +0200 Subject: [PATCH] Fixed a double call to safe_input. (cherry picked from commit 6a9055c5bd58c5629c6baa4d68b43b67ecacdb54) --- pandora_server/util/pandora_manage.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora_server/util/pandora_manage.pl b/pandora_server/util/pandora_manage.pl index 6ac702e724..7250510954 100644 --- a/pandora_server/util/pandora_manage.pl +++ b/pandora_server/util/pandora_manage.pl @@ -4989,7 +4989,7 @@ sub cli_create_policy () { my $id_group = get_group_id($dbh,$group_name); exist_check($id_group,'group',$group_name); - my $id = enterprise_hook('create_policy',[$dbh, safe_input($policy_name), safe_input($description), $id_group]); + my $id = enterprise_hook('create_policy',[$dbh, $policy_name, $description, $id_group]); return $id; }