FilterExpression: Encode the expression when rendering the query string
fixes #10623 fixes #8713
This commit is contained in:
parent
38b05cef35
commit
d7045a4c09
|
@ -91,8 +91,8 @@ class FilterExpression extends Filter
|
|||
public function toQueryString()
|
||||
{
|
||||
$expression = is_array($this->expression) ?
|
||||
'(' . implode('|', $this->expression) . ')' :
|
||||
$this->expression;
|
||||
'(' . implode('|', array_map('rawurlencode', $this->expression)) . ')' :
|
||||
rawurlencode($this->expression);
|
||||
|
||||
return $this->column . $this->sign . $expression;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue