Closed
Bug 1427303
Opened 6 years ago
Closed 6 years ago
image detected as htm in save dialog
Categories
(Firefox :: Page Info Window, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 1054276
People
(Reporter: alexmehler, Unassigned)
Details
Attachments
(1 file)
111.07 KB,
image/jpeg
|
Details |
User Agent: Mozilla/5.0 (Windows NT 6.3; Win64; x64; rv:56.0) Gecko/20100101 Firefox/56.0.1 Waterfox/56.0.1 Build ID: 20171213145345 Steps to reproduce: go to for example https://www.ecosia.org/images?q=firefox+downloads+images+as+htm then rightclick an image and choose "view image info" in the panel click "save as" Actual results: file dialog opens and file is named th.htm Expected results: file dialog opens and name should be "Mozilla Firefox 18.png" ------------------------------------------------------------- the missing logic should be somewhere in contentAreaUtils.js imo
Reporter | ||
Comment 1•6 years ago
|
||
Reporter | ||
Comment 2•6 years ago
|
||
on google image search the filenames default to "images.htm" and "index"
Reporter | ||
Comment 3•6 years ago
|
||
A Cache lookup would probably solve all those issues as you can read the headers with the real file location, name, mimetype !? i mean any operations on images are performed on images already downloaded and displayed so they should be in the ram cache with all important parameters exposed
Comment 4•6 years ago
|
||
(In reply to alexmehler from comment #0) > https://www.ecosia.org/images?q=firefox+downloads+images+as+htm No issue when right-clicking and choosing Save Image As, or when viewing the image [1] in a new tab and pressing Ctrl+S. Therefore, duplicate of bug 1054276. [1] https://tse3.mm.bing.net/th?id=OIP.eevlsYnePKfGl2F_0FCZvgHaC4&pid=Api
Status: UNCONFIRMED → RESOLVED
Has Regression Range: --- → irrelevant
Has STR: --- → yes
Closed: 6 years ago
Component: Untriaged → Page Info Window
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•