2012-01-17 Ramon Novoa <rnovoa@artica.es>
* include/functions_netflow.php: Clean \r and \n from advanced filters. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5383 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
dcdd53a9fc
commit
112e2b9b30
|
@ -1,3 +1,8 @@
|
|||
2012-01-17 Ramon Novoa <rnovoa@artica.es>
|
||||
|
||||
* include/functions_netflow.php: Clean \r and \n from advanced
|
||||
filters.
|
||||
|
||||
2012-01-17 Ramon Novoa <rnovoa@artica.es>
|
||||
|
||||
* include/functions_graph.php, include/functions_netflow.php,
|
||||
|
|
|
@ -449,7 +449,7 @@ function netflow_get_command ($filter) {
|
|||
// Advanced filter
|
||||
$filter_args = '';
|
||||
if ($filter['advanced_filter'] != '') {
|
||||
$filter_args = preg_replace('/"/','', io_safe_output ($filter['advanced_filter']));
|
||||
$filter_args = preg_replace('/["\r\n]/','', io_safe_output ($filter['advanced_filter']));
|
||||
$command .= ' "(' . $filter_args . ')"';
|
||||
return $command;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue