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)
Tracking
()
RESOLVED
DUPLICATE
of bug 1602220
People
(Reporter: atrif, Unassigned)
References
(Regression, )
Details
(Keywords: regression)
Attachments
(1 file)
312.63 KB,
video/x-matroska
|
Details |
Affected versions
- 75.0a1 (20200302212732)
- 74.0 (20200302184608)
Affected platforms
- Ubuntu 18.04
Steps to reproduce
- Open Firefox with a new profile and go to https://www.reddit.com/r/pics/.
- Right-click on a random image and select “Save Image as...” context menu option.
- 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
- Last good revision: 2840946503b2b78ee175d121371991a3ef234df2
- First bad revision: a90042cbefc60daadcc3d67de6c43aab13c0c6e3
- Pushlog:
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=2840946503b2b78ee175d121371991a3ef234df2&tochange=a90042cbefc60daadcc3d67de6c43aab13c0c6e3
Potential regressor: bug 1526731.
Notes
- Attached a screen recording.
Reporter | ||
Updated•4 years ago
|
Has Regression Range: --- → yes
Has STR: --- → yes
Comment 1•4 years ago
|
||
WebP starts with RIFF which matches those bytes:
Comment 2•4 years ago
|
||
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
Updated•4 years ago
|
OS: Linux → All
Comment 3•4 years ago
|
||
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
Comment 4•4 years ago
|
||
My brain is slow today.
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → DUPLICATE
Updated•4 years ago
|
Updated•4 years ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•