Closed Bug 316300 Opened 20 years ago Closed 16 years ago

petitiononline.com - page sent as text/plain

Categories

(Tech Evangelism Graveyard :: English US, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: pandey, Unassigned)

References

()

Details

User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.8) Gecko/20051107 Firefox/1.5 Build Identifier: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.8) Gecko/20051107 Firefox/1.5 When you open the site http://www.petitiononline.com/rti00/petition.html in Fire Fox, all you see is HTML code. It looks like the Firefox has problem in processing the HTML on this website. [See sample pasted at the end] Internet Explorer however works fine and nice. ########## <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> <html lang="en"> <head> <title> Protest Suberversion of Right to Information in India Petition </title> <meta name="description" content="Protest Suberversion of Right to Information in India Petition, hosted at PetitionOnline.com"> <meta name="keywords" content="Protest Suberversion of Right to Information in India Parliament and Government of India Ram Kishun Dusadh online petition petitiononline.com grassroots marketplace free speech political activism petitions "> <base href="http://www.PetitionOnline.com/rti00/petition.html"> </head> <body bgcolor="FFFFFF"> <table width=100% height="62" cellpadding=2 cellspacing=1> <tr> <td align=left valign=bottom width=100% height="62" bgcolor="#909090"> <a target="_top" href="http://www.PetitionOnline.com/petition.html"><img align=bottom border=0 hspace=2 vspace=0 src="/images/dc_icon-60.gif" width=60 height=60 alt="dc"></a> <!-- Begin Google Banner --> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <script type="text/javascript"><!-- google_ad_client = "pub-5090005701884356"; google_hints = "petition advocacy grassroots democracy free speech Parliament and Government of India Ram Kishun Dusadh Protest Suberversion of Right to Information in India"; google_alternate_color = "909090"; google_ad_width = 468; google_ad_height = 60; google_ad_format = "468x60_as"; google_ad_type = "text_image"; google_ad_channel ="6386483977"; google_color_border = ["FFCC00","909090","909090","CCCCCC"]; google_color_bg = ["FFFFBB","909090","909090","FFFFFF"]; google_color_link = ["0099FF","000000","FFFFFF","000000"]; google_color_url = ["000000","000000","FFFFFF","666666"]; google_color_text = ["000000","000000","FFFFFF","333333"]; //--></script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> Reproducible: Always Steps to Reproduce: 1. Open in Firefox URL http://www.petitiononline.com/rti00/petition.html 2. Then open in Internet Explorer the URL http://www.petitiononline.com/rti00/petition.html 3. compare the results Actual Results: Firefox shows underlying HTML code of the site Expected Results: Firefox should process the HTML code and render website. This is frustrating because Firefox users cannot view this website.
The page is sent as text/plain (vs text/html). Firefox is correctly displaying it as plain text. ->tech evang FWIW, I briefly checked other pages on the site, and they all displayed correctly.
Assignee: nobody → english-us
Severity: critical → normal
Status: UNCONFIRMED → NEW
Component: General → English US
Ever confirmed: true
Product: Firefox → Tech Evangelism
QA Contact: general → english-us
Summary: The site does not open in Firefox-1.5 but works fine in Internet Explorer → petitiononline.com - page sent as text/plain
OS: Windows NT → All
Hardware: PC → All
(In reply to comment #1) > The page is sent as text/plain (vs text/html). Firefox is correctly displaying > it as plain text. ->tech evang > > FWIW, I briefly checked other pages on the site, and they all displayed > correctly. > If this page is sent as a text, How does Internet Explorer display it as HTML?
Internet Explorer heuristically determines that it looks like HTML, and processes it as such. The standard only allow this behavior when the content-type is not specified (see RFC 2616 section 7.2.1). IE's behavior is useful in this case, but ignoring the specified content-type causes problems in other situations.
fixed
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Product: Tech Evangelism → Tech Evangelism Graveyard
You need to log in before you can comment on or make changes to this bug.