mirror of
https://github.com/easy-wi/developer.git
synced 2025-02-20 11:23:28 +08:00
Ticket 76: Forking L4D(2) servers
https://github.com/easy-wi/developer/issues/76
This commit is contained in:
parent
3c922ad206
commit
6fb4e1a6a2
@ -343,9 +343,10 @@ class ValidateUserinput {
|
||||
return $this->loop($check,'description',$type);
|
||||
}
|
||||
}
|
||||
// https://github.com/easy-wi/developer/issues/76 forking l4d(2) servers '#' needed
|
||||
function startparameter ($value,$type,$object=false) {
|
||||
$check=$this->if_obj_or_str($value,$type,$object);
|
||||
if ($check and is_string($check) and preg_match('/^[\w\r\n\(\)\[\]\{\}\~\=\?\%\:\.\,\"+-\_\|ßöÖäÄüÜ ]+$/',$check)) {
|
||||
if ($check and is_string($check) and preg_match('/^[\w\r\n\#\(\)\[\]\{\}\~\=\?\%\:\.\,\"+-\_\|ßöÖäÄüÜ ]+$/',$check)) {
|
||||
return $check;
|
||||
} else if ($check) {
|
||||
return $this->loop($check,'startparameter',$type);
|
||||
|
Loading…
x
Reference in New Issue
Block a user