mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
Summary/Fixup
* allow signed integers (random enchantments) in summary definition
This commit is contained in:
@@ -106,7 +106,7 @@ class CompareBaseResponse extends TemplateResponse
|
|||||||
protected static function checkCompareString(string $val) : string
|
protected static function checkCompareString(string $val) : string
|
||||||
{
|
{
|
||||||
$val = urldecode($val);
|
$val = urldecode($val);
|
||||||
if (preg_match('/[^\d\.:;]/', $val))
|
if (preg_match('/[^-?\d\.:;]/', $val))
|
||||||
return '';
|
return '';
|
||||||
|
|
||||||
return $val;
|
return $val;
|
||||||
|
|||||||
Reference in New Issue
Block a user