diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 5c1f5c2db3..b1f1ed0340 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,8 @@ +2013-06-11 Miguel de Dios + + * operation/events/events_list.php, operation/events/events.php: + fixed the free text search when there is characters as "(". + 2013-06-11 Miguel de Dios * godmode/alerts/configure_alert_template.php, diff --git a/pandora_console/operation/events/events.php b/pandora_console/operation/events/events.php index 86e522da5e..682859bab4 100644 --- a/pandora_console/operation/events/events.php +++ b/pandora_console/operation/events/events.php @@ -215,7 +215,7 @@ $tag_without = json_decode($tag_without_json_clean, true); if (empty($tag_without)) $tag_without = array(); $tag_without = array_diff($tag_without, array(0 => 0)); -$search = io_safe_output(preg_replace ("/&([A-Za-z]{0,4}\w{2,3};|#[0-9]{2,3};)/", "&", rawurldecode (get_parameter ("search")))); +$search = io_safe_output(get_parameter ("search")); users_get_groups ($config["id_user"], "ER"); diff --git a/pandora_console/operation/events/events_list.php b/pandora_console/operation/events/events_list.php index 4fe8c9c881..44b11c783c 100644 --- a/pandora_console/operation/events/events_list.php +++ b/pandora_console/operation/events/events_list.php @@ -348,7 +348,7 @@ $table_advanced->data = array(); $data = array(); $data[0] = __('Free search') . '
'; -$data[0] .= html_print_input_text ('search', io_safe_output($search), '', 25, 255, true); +$data[0] .= html_print_input_text ('search', $search, '', 25, 255, true); $data[1] = __('Agent search') . '
'; $params = array(); $params['show_helptip'] = true;