Closed Bug 144010 Opened 24 years ago Closed 24 years ago

View-Page Source forces page/file to be saved, first

Categories

(Core Graveyard :: View Source, defect)

x86
All
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 86835

People

(Reporter: dcorbin, Assigned: doronr)

References

()

Details

From Bugzilla Helper: User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0rc2) Gecko/20020510 BuildID: 2002051006 I have a URL of the form "/foo/bar.do". It invokes a server-side application which produces HTML. (Content-type: text/html). The browser handles it fine, but when I do "View Page Source", I'm presented with "Save As" dialog with "bar.do" as the default file name. I don't want to save the file, nor should I have to. I want to examine the source for the page. If it *absolutely necessary* that the file be recorded to disk, throw it into a file in the temporary directory, and clean up after yourself when the window is closed. Reproducible: Always Steps to Reproduce: 1. Refer to a URL ending in ".do" that returns HTML.
-> Viewsource
Assignee: Matti → doron
Component: Browser-General → ViewSource
QA Contact: imajes-qa → pmac
please provide a url
If you're getting that dialog, you are almost certainly not sending "Content-type: text/html". URL please?
I can reproduce this with bugzilla queries on RC2/Linux. OS -> All
OS: Windows 2000 → All
Reporter: Does the Save As dialog say the file is of type multipart/x-mixed-replace.?? If so, dupe of bug 76816.
You are correct. The Content-Type is not set being set (my mistake for claiming it was), but I still think here is no reason for the SaveAs dialog to happen. The browser correctly interpreted the source, all I want to do is see it. As someone else noted, bugzilla queries do this too. (I've updated the URL field with one example).
No type set? Thank you. *** This bug has been marked as a duplicate of 86835 ***
Status: UNCONFIRMED → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
Product: Browser → Seamonkey
Product: SeaMonkey → Core Graveyard
You need to log in before you can comment on or make changes to this bug.