From 5335397f58ae8ce0a15f4a25dfd9d86d2097a08a Mon Sep 17 00:00:00 2001 From: stan Date: Mon, 10 Mar 2008 09:37:52 +0000 Subject: [PATCH] Bug 469 - Filter queries were urlencoded twice. git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@2341 e3e1d417-86f3-4887-817a-d78f3d33393f --- web/zm_funcs.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/zm_funcs.php b/web/zm_funcs.php index 20b133b63..e515c87aa 100644 --- a/web/zm_funcs.php +++ b/web/zm_funcs.php @@ -1339,7 +1339,7 @@ function parseFilter( &$filter, $save_to_session=false, $term_sep='&' ) $filter['query'] .= $term_sep."filter[terms][$i][op]=".urlencode($filter['terms'][$i]['op']); $filter['fields'] .= "\n"; - $filter['query'] .= $term_sep."filter[terms][$i][val]=".urlencode(urlencode($filter['terms'][$i]['val'])); + $filter['query'] .= $term_sep."filter[terms][$i][val]=".urlencode($filter['terms'][$i]['val']); $filter['fields'] .= "\n"; } if ( isset($filter['terms'][$i]['cbr']) )