Closed Bug 182325 Opened 23 years ago Closed 23 years ago

Nonsense is displayed after a ASP.NET site returns an Image

Categories

(Core :: DOM: HTML Parser, defect)

x86
Windows XP
defect
Not set
minor

Tracking

()

RESOLVED INVALID

People

(Reporter: brink019, Assigned: harishd)

References

Details

Attachments

(1 file)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.2) Gecko/20021126 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.2) Gecko/20021126 (At the University, we programm with ASP.NET a bit. ->) After a ASP.NET page performs an action like "Bitmap.Save(Response.OutputStream, ImageFormat.JPG)" in code-behind, the browser IE displays an only Image. (This is right.) Mozilla does not! Mozilla displays a mass of characters, behind the actual page. Reproducible: Always Steps to Reproduce: see Details Actual Results: Mozilla displays a lot of nonsense characters. Expected Results: Mozilla should display simply an Image.
*** Bug 182326 has been marked as a duplicate of this bug. ***
*** Bug 182327 has been marked as a duplicate of this bug. ***
*** Bug 182328 has been marked as a duplicate of this bug. ***
*** Bug 182329 has been marked as a duplicate of this bug. ***
*** Bug 182330 has been marked as a duplicate of this bug. ***
*** Bug 182332 has been marked as a duplicate of this bug. ***
*** Bug 182333 has been marked as a duplicate of this bug. ***
*** Bug 182334 has been marked as a duplicate of this bug. ***
*** Bug 182335 has been marked as a duplicate of this bug. ***
*** Bug 182336 has been marked as a duplicate of this bug. ***
*** Bug 182337 has been marked as a duplicate of this bug. ***
I'm guessing that your script is not sending a correct 'content-type' header. If its sending something like text/plain, then mozilla will (unlike IE) follow the specification and treat teh result as a plain text document.
Sure, but what are the HTTP headers?
After email from reporter, this is INVALID - C-T header was missing/wrong
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: