Even more Allowed Characters
This commit is contained in:
parent
b8e072d224
commit
9f7c6ebe17
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ class Helpers {
|
|||
|
||||
// Check Search String for Valid Characters
|
||||
public static function validate_search($search) {
|
||||
if (!preg_match("#^[a-zA-Z0-9äöüÄÖÜ _\-\.\*\?\;\(\)]+$#", $search)) {
|
||||
if (!preg_match("#^[a-zA-Z0-9äöüÄÖÜ _\-\.\*\?\:\(\)\']+$#", $search)) {
|
||||
return false;
|
||||
} else {
|
||||
return true;
|
||||
|
|
Loading…
Reference in a new issue