mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-03-14 20:21:14 +03:00
[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:
parent
7d6881732d
commit
815dc180cc
1 changed files with 0 additions and 3 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Reference in a new issue