Fixed missing chars, fixes #869
Thanks to philnate Signed-off-by: Andreas Burchert (scarya) <scarya@froxlor.org>
This commit is contained in:
@@ -201,7 +201,7 @@ class paging
|
||||
$this->userinfo['lastpaging']['searchfield'] = $this->searchfield;
|
||||
|
||||
if(isset($_REQUEST['searchtext'])
|
||||
&& (preg_match("/^[@0-9a-zA-Z<><5A><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\-\*\.]+$/", $_REQUEST['searchtext']) || $_REQUEST['searchtext'] === ''))
|
||||
&& (preg_match('/[-_@\p{L}\p{N}*.]+$/u', $_REQUEST['searchtext']) || $_REQUEST['searchtext'] === ''))
|
||||
{
|
||||
$this->searchtext = $_REQUEST['searchtext'];
|
||||
}
|
||||
@@ -209,7 +209,7 @@ class paging
|
||||
{
|
||||
if($checklastpaging
|
||||
&& isset($this->userinfo['lastpaging']['searchtext'])
|
||||
&& preg_match("/^[@0-9a-zA-Z<><5A><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\-\*\.]+$/", $this->userinfo['lastpaging']['searchtext']))
|
||||
&& preg_match('/[-_@\p{L}\p{N}*.]+$/u', $this->userinfo['lastpaging']['searchtext']))
|
||||
{
|
||||
$this->searchtext = $this->userinfo['lastpaging']['searchtext'];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user