Browse Source

Fix getimagesizefromstring() read errors

pull/5452/head
Hypolite Petovan 4 years ago
parent
commit
d09ab35816
  1. 5
      src/Object/Image.php

5
src/Object/Image.php

@ -782,6 +782,11 @@ class Image
if (is_null($data) || !$data || !is_array($data)) {
$img_str = Network::fetchUrl($url, true, $redirects, 4);
if (!$img_str) {
return false;
}
$filesize = strlen($img_str);
try {

Loading…
Cancel
Save