Skip to content

Commit

Permalink
[PicukiBridge] Fix image URL (RSS-Bridge#4068)
Browse files Browse the repository at this point in the history
Image URL does not need to be faked anymore, as the content/type is now valid.
  • Loading branch information
sysadminstory authored Apr 10, 2024
1 parent 7d68817 commit 815dc18
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions bridges/PicukiBridge.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,6 @@ public function collectData()
$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,
Expand Down

0 comments on commit 815dc18

Please sign in to comment.