Closed Bug 187549 Opened 22 years ago Closed 22 years ago

option to foce content-disposition:attachment content to be viewed inline

Categories

(Core Graveyard :: File Handling, enhancement)

x86
All
enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 185618

People

(Reporter: cowwoc2020, Assigned: law)

References

(Depends on 1 open bug, )

Details

User-Agent:       Mozilla/5.0 (OS/2; U; Warp 4.5; en-US; rv:1.3b) Gecko/20030102
Build Identifier: Mozilla/5.0 (OS/2; U; Warp 4.5; en-US; rv:1.3b) Gecko/20030102

Hit the above URL.
I'm expecting the JPG Viewer to automatically take effect but instead I get the
plugin helper wizard.

Reproducible: Always

Steps to Reproduce:
1. See description
2.
3.
Is this really a bug on "All" OSes, or just OS/2?

On windows, I (correctly, since the site requests this) get the helper app 
dialog... (not the plugin anything).
the headers are:
Content-disposition: attachment; filename=top.jpg
Content-Type: image/jpeg; name=top.jpg

pretty sure this is a dupe...
This works fine for me on a current Os/2 build. I get the helper dialog.
Michael, I don't want to get a JPG helper dialog. Try the same action under
Explorer and you'll view the JPEG right away.

Or, if you really must display the helper dialog, there needs to be an option to
allow you to view the JPEG using the built-in viewer.
Odd. The reason we put up that dialog is because that's what IE does when those 
headers are sent... yet I confirm that IE just shows this image.

Is the site sending IE different headers than Mozilla?  Can someone sniff the 
headers IE gets?
-> file handling

fwiw, on MSIE 5.0 as well as 5.5, I am asked if I want to save the image; it is
not displayed in the browser.

Assignee: asa → law
Component: Browser-General → File Handling
Depends on: 11521
QA Contact: asa → petersen
Just want to add my 2 cents:

- Regardless of what IE does or does not, we should always be given an option to
use the built-in viewer if none is configured.
yes; once bug 11521 is fixed that will become an option.

mutating bug accordingly.
Severity: normal → enhancement
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: JPG viewer not triggered on links → option to foce content-disposition:attachment content to be viewed inline

*** This bug has been marked as a duplicate of 185618 ***
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.