Closed Bug 1619567 Opened 4 years ago Closed 4 years ago

Saved images from https://www.reddit.com/r/pics/ are saved with .jpg extensions but webp content

Categories

(Firefox :: File Handling, defect)

Desktop
All
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1602220

People

(Reporter: atrif, Unassigned)

References

(Regression, )

Details

(Keywords: regression)

Attachments

(1 file)

Attached video save_image_as.mkv

Affected versions

  • 75.0a1 (20200302212732)
  • 74.0 (20200302184608)

Affected platforms

  • Ubuntu 18.04

Steps to reproduce

  1. Open Firefox with a new profile and go to https://www.reddit.com/r/pics/.
  2. Right-click on a random image and select “Save Image as...” context menu option.
  3. Save the picture and open it.

Expected result

  • The image is opened successfully.

Actual result

  • Error interpreting JPEG image file (Not a JPEG file: starts with 0x52 0x49) error is displayed.

Regression Range

Notes

  • Attached a screen recording.
Has Regression Range: --- → yes
Has STR: --- → yes

I can reproduce this on macOS, too.

Summary: [linux] “Error interpreting JPEG image file (Not a JPEG file: starts with 0x52 0x49)” error when opening a saved image from https://www.reddit.com/r/pics/ → Saved images from https://www.reddit.com/r/pics/ are saved with .jpg extensions but webp content
OS: Linux → All

That is, this seems to happen for me on macOS if I have an entry in handlers.json for image/jpeg. If I remove the entry, the problem goes away (at least on nightly).

Component: ImageLib → File Handling
Product: Core → Firefox

My brain is slow today.

Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: