Closed
Bug 57619
Opened 25 years ago
Closed 25 years ago
disable http uncompress when saving to disk....
Categories
(SeaMonkey :: General, defect, P3)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: mscott, Assigned: mscott)
References
Details
(Whiteboard: [rtm++])
Attachments
(1 file)
|
895 bytes,
patch
|
Details | Diff | Splinter Review |
This is a spin off from rtm need info Bug #35956. I'm spinning it off so I can
check in my part of the fix tonight under this bug while Gagan's team works on
the rest of the bug in the original 35956.
When downloading content through the exthandler dialog, we need to explicitly
tell http to disable auto decompression of the content.
Because we aren't doing this, the content is automatically getting uncompressed.
This leads to problems! Consider the case where you click on a gzip'ed file:
mozilla.tar.gz.
Saving that to disk currently causes us to uncompress the data but leave the
original .gz file extension on there.
so you are left with a file ending in .gz which really isn't compressed anymore.
I have a fix to set this flag on the http channel before saving it to disk.
| Assignee | ||
Comment 1•25 years ago
|
||
| Assignee | ||
Comment 2•25 years ago
|
||
this patch was r=gagan
sr=rpotts.
The bug that depends on this is already rtm need info. So moving this to rtm+.
Hopefully we can get it checked in before Monday's builds were things get even
harder to get stuff in.
I put my part of the fix into a sepate bug from 35956 in order to try to make
sure it gets in before Monday. It's up to the necko group to track down the rest
of the problems in 35956.
| Assignee | ||
Comment 4•25 years ago
|
||
Fix checked into the branch and the tip.
This only works for windows only.
to test, go to www.mozilla.org and click on the nightly linux tarball. When
prompted with the unknown content dialog, save it to disk.
Now look at the file. Before the fix, the file will be uncompressed. AFter the
fix, the file is properly still gziped. I compared the file sizes in order to
verify the fix.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Comment 5•25 years ago
|
||
verified win98 200102604 trunk. I downloaded the file, opened it in winzip,
which told me that it only contains only one file (embed-i686-pc-linux-gnu.tar,
no .gz
perhaps someone should check this on branch as well.
Status: RESOLVED → VERIFIED
Updated•21 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•