mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-20 03:16:12 +00:00
QueryFilter.php: allow underscore in filter string (#4548)
This commit is contained in:
parent
6c1b8a993e
commit
b4104cf0a3
@ -45,6 +45,6 @@ class QueryFilter
|
||||
*/
|
||||
public function filter($value)
|
||||
{
|
||||
return preg_replace("/[^0-9,a-z,A-Z, ,*,\-,.,\#]/", "", $value);
|
||||
return preg_replace("/[^0-9,a-z,A-Z, ,*,\-,_,.,\#]/", "", $value);
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user