[PicukiBridge] Fix image URL (#4068)

Image URL does not need to be faked anymore, as the content/type is now valid.
This commit is contained in:
sysadminstory 2024-04-10 17:30:56 +02:00 committed by GitHub
parent 7d6881732d
commit 815dc180cc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -89,9 +89,6 @@ class PicukiBridge extends BridgeAbstract
$imageUrlParts[count($imageUrlParts) - 1] = urlencode($imageUrlParts[count($imageUrlParts) - 1]);
$imageUrl = implode('/', $imageUrlParts);
// add fake file extension for it to be recognized as image/jpeg instead of application/octet-stream
$imageUrl = $imageUrl . '#.jpg';
$this->items[] = [
'uri' => $url,
'author' => $author,