mirror of
https://github.com/twisterarmy/cloud-server.git
synced 2025-03-12 21:41:09 +00:00
fix wrong input chars decoding by flag JSON_INVALID_UTF8_IGNORE
This commit is contained in:
parent
a596be9eb4
commit
7e598c3718
@ -80,7 +80,7 @@ class Curl {
|
||||
|
||||
if ($response) {
|
||||
if ($json) {
|
||||
return json_decode($response, true);
|
||||
return json_decode($response, true, 512, JSON_INVALID_UTF8_IGNORE);
|
||||
} else {
|
||||
return $response;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user