Fix thumbnails for external URLs with no extension

This commit is contained in:
Kijin Sung 2016-01-26 11:13:57 +09:00
parent 9704cc9a66
commit 2f64a4ce8f
3 changed files with 34 additions and 30 deletions

View file

@ -571,6 +571,7 @@ class FileHandler
}
}
$url = str_replace('&', '&', $url);
$response = Requests::request($url, $request_headers, $body ?: $post_data, $method, $request_options);
if(count($response->cookies))