mirror of
https://github.com/twisterarmy/cloud-server.git
synced 2025-09-13 14:22:13 +00:00
disable imagecreatefromstring output on validation request
This commit is contained in:
parent
5f7b339089
commit
5422104b46
@ -39,7 +39,7 @@ class Valid {
|
||||
'data:image/webp;base64,',
|
||||
], '', $string);
|
||||
|
||||
if (self::base64($string) && imagecreatefromstring(base64_decode($string))) {
|
||||
if (self::base64($string) && @imagecreatefromstring(base64_decode($string))) {
|
||||
|
||||
return true;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user