mirror of
https://github.com/kvazar-network/index-php.git
synced 2025-01-22 04:45:13 +00:00
fix base64_encode input data type
This commit is contained in:
parent
0d7af95f8e
commit
e4b36f10d7
@ -274,7 +274,7 @@ class Manticore
|
||||
case false === mb_detect_encoding((string) $value, null, true):
|
||||
return $type = self::TYPE_BIN;
|
||||
|
||||
case base64_encode(base64_decode((string) $value, true)) === $value:
|
||||
case base64_encode((string) base64_decode((string) $value, true)) === $value:
|
||||
return $type = self::TYPE_BASE_64;
|
||||
|
||||
case null !== json_decode((string) $value, null, 2147483647):
|
||||
|
Loading…
x
Reference in New Issue
Block a user