Bug 469 - Filter queries were urlencoded twice.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@2341 e3e1d417-86f3-4887-817a-d78f3d33393fpull/27/merge
parent
72c8bd107c
commit
5335397f58
|
@ -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']) )
|
||||
|
|
Loading…
Reference in New Issue