Closed Bug 57509 Opened 24 years ago Closed 24 years ago

Page save -=> saved File is compressed (Gzip)

Categories

(SeaMonkey :: General, defect, P3)

x86
Windows 2000
defect

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 51852

People

(Reporter: Matti, Assigned: law)

References

()

Details

Attachments

(1 file)

You must have the latest nightly with a fix for bug49168. Username : Mozilla Password : Mozilla Select File/Save as Save the page (main.html) to your HDD. Try to load the saved file from your HDD, the file is corrupt. I saw this in the console while I save this page : (This seems not be the problem) ************************************************************ * Call to xpconnect wrapped JSObject produced this error: * [Exception... "[Exception... "Illegal value" code: "-2147024809" nsresult: "0x8 0070057 (NS_ERROR_ILLEGAL_VALUE)" location: "chrome://global/content/downloadPr ogress.js Line: 70"] [nsIObserver::Observe]" nsresult: "0x8057001c (NS_ERROR_XP C_JS_THREW_JS_OBJECT)" location: "<unknown>" data: no] ************************************************************
Attached file This is the saved file (deleted) —
adding mscott and law to cc. Do one of you all know who should get this bug?
I should probably get it. What's happening is that the server is sending the data back using gzip encoding. When we save stuff, we turn auto-encoding off (so that gzip data files don't end up being saved bigger than necessary). In this case, that might not be what you want. If you run gzip -d against the saved file, you get what you want. The fix is to somehow enhance our smarts when it comes to choosing whether to suppress this auto-encoding business. Probably "save page as" should always uncompress? Or maybe it should be based on mime type?
Assignee: asa → law
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
*** Bug 64301 has been marked as a duplicate of this bug. ***
Summary: Page save produce corrupt file → Page save -=> saved File is compressed (Gzip)
changing summary
dupe of 51852 *** This bug has been marked as a duplicate of 51852 ***
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
That is my own bug, so I verify it
Status: RESOLVED → VERIFIED
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: