Bug 469 - Filter queries were urlencoded twice.

git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@2341 e3e1d417-86f3-4887-817a-d78f3d33393f
pull/27/merge
stan 2008-03-10 09:37:52 +00:00
parent 72c8bd107c
commit 5335397f58
1 changed files with 1 additions and 1 deletions

View File

@ -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'] .= "<input type=\"hidden\" name=\"filter[terms][$i][op]\" value=\"".htmlspecialchars($filter['terms'][$i]['op'])."\"/>\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'] .= "<input type=\"hidden\" name=\"filter[terms][$i][val]\" value=\"".htmlspecialchars($filter['terms'][$i]['val'])."\"/>\n";
}
if ( isset($filter['terms'][$i]['cbr']) )