forked from friendica/friendica-addons
Compare commits
2 commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 1268d8fc98 | |||
|
|
0820765c4e |
1 changed files with 1 additions and 0 deletions
|
|
@ -289,6 +289,7 @@ function mailstream_do_images(array &$item, array &$attachments)
|
|||
$cookiejar = tempnam(System::getTempPath(), 'cookiejar-mailstream-');
|
||||
try {
|
||||
$curlResult = DI::httpClient()->get($url, HttpClientAccept::DEFAULT, [HttpClientOptions::COOKIEJAR => $cookiejar]);
|
||||
unlink($cookiejar);
|
||||
if (!$curlResult->isSuccess()) {
|
||||
DI::logger()->debug('mailstream: fetch image url failed', [
|
||||
'url' => $url,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue