Closed Bug 133413 Opened 22 years ago Closed 22 years ago

mozilla tries to download server-pushed type text/html web page instead of viewing it when charset set in Content-type: header

Categories

(Core Graveyard :: File Handling, defect)

x86
All
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 138639

People

(Reporter: bko, Assigned: law)

References

()

Details

on the above page, I get a dialog asking to download the page, instead of
viewing it.  The page is of type text/html, but it has a charset=iso-8859-1 to
try to prevent javascript attacks.  ISTR that this worked in prior versions of
mozilla, and works in konqueror and ns 4.7x.
note further that I saw this with 0.9.9, and again with a snapshot from today
(2002032508).
i'm still seeing this.
OS: Linux → All
I see this on the latest nightly (2002032803) for Win32 as well as the latest
nightly for Linux.

Summary: mozilla tries to download web page instead of viewing it → mozilla tries to download web page instead of viewing it when charset set in Content-type: header
Summary: mozilla tries to download web page instead of viewing it when charset set in Content-type: header → mozilla tries to download type text/html web page instead of viewing it when charset set in Content-type: header
I confirmed that removing the charset=iso-8859-1 from the Content-type: header
fixes the problem, and also that this works in 0.9.8 .

OK.  I've traced this further.  it happens only when the page is using server
push via multipart/x-mixed-replace, and the content-type of each section
includes a charset.  so, it only happens under mozilla.  this works OK under 0.9.8.
Summary: mozilla tries to download type text/html web page instead of viewing it when charset set in Content-type: header → mozilla tries to download server-pushed type text/html web page instead of viewing it when charset set in Content-type: header

*** This bug has been marked as a duplicate of 138639 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
Yep... I wish I'd caught this back a month ago when it got filed.  :(
Status: RESOLVED → VERIFIED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.