Open Bug 1706212 Opened 3 years ago Updated 10 months ago

Remote image (jpg) from RSS feed > Save image as... offers only html flavor and is wrongly saved as image (jpg) file with htm/html extension.

Categories

(Thunderbird :: General, defect)

Thunderbird 115
defect

Tracking

(Not tracked)

People

(Reporter: aeioudev, Unassigned)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:88.0) Gecko/20100101 Firefox/88.0

Steps to reproduce:

Tested with Thunderbird 78.10 x64 on Windows 7 and 10 (1809).

  1. Add https://vc.ru/rss/all to "Blogs & News Feeds" subscriptions
  2. Select any post with an attached image and save it via right click -> "Save Image As..."

Actual results:

The image is saved as an HTML file, but it is actually a full-size PNG. I also recorded a video of this happening with the post view inside the client (latest version of Firefox saves the file correctly).

Expected results:

The image should be saved with the correct name and extension (like "7dafabc0-1274-5bc7-9260-ca5b3df7e5a0.png").

Why does the attachment pane show them as Part 1.x depending on the number of attachments in which post you read and the source shows them like this?

--------------683
Content-Type: image/jpeg; name=""; size=46689
X-Mozilla-External-Attachment-URL: https://leonardo.osnova.io/0b53e3a8-ff26-5319-8ced-3280a3aebc02/
Content-Disposition: attachment; filename=""

This MIME attachment is stored separately from the message.

--------------683
Content-Type: image/jpeg; name=""; size=56220
X-Mozilla-External-Attachment-URL: https://leonardo.osnova.io/bc17f6c7-6b21-51b2-af32-8cc471b5f3d6/
Content-Disposition: attachment; filename=""

This MIME attachment is stored separately from the message.

Try copying the image and pasting it into the desired location.

That worked for me.

Hey aeioudev, thanks for well-formed bug report and screencast.

Confirming exactly as described.
Feed source has this:
<img src="https://leonardo.osnova.io/e8069eb5-7fbc-59e1-b79f-da78233be691/-/resize/1300/" width="1280" height="688" alt />
Image shows correctly in feed, image context menu shows correctly, Save Image As... offers only html flavor and adds wrong htm/html extension to the actual image file. Same image directly from FF browser saves correctly.

Workaround: add .jpg extension while saving, or rename image.html to image.jpg on your disk.

Severity: -- → S3
Status: UNCONFIRMED → NEW
Component: Untriaged → General
Ever confirmed: true
Summary: Images from RSS feed are saved as HTML files → Remote image (jpg) from RSS feed > Save image as... offers only html flavor and is wrongly saved as image (jpg) file with htm/html extension.

Shouldn't there be a filename in the source code?

--------------644
Content-Type: image/jpeg; name=""; size=66440
X-Mozilla-External-Attachment-URL: https://leonardo.osnova.io/a8070d24-02a7-536e-a755-9e9c54af37a5/
Content-Disposition: attachment; filename=""

This MIME attachment is stored separately from the message.

The bug is still present in ESR 91 version.

Version: 78 → Thunderbird 91

Same happens with opening jpg attachment. A popup Save window opens whenever I Click on Open.

Confirmed on Thunderbird 102.

Version: Thunderbird 91 → Thunderbird 102

Confirmed on Thunderbird 115.

Version: Thunderbird 102 → Thunderbird 115
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: