Closed
Bug 214987
Opened 23 years ago
Closed 23 years ago
polymath-systems.com - serving HTML as text/plain
Categories
(Tech Evangelism Graveyard :: English US, defect)
Tech Evangelism Graveyard
English US
Tracking
(Not tracked)
RESOLVED
FIXED
Sep
People
(Reporter: raych, Unassigned)
References
()
Details
User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.4) Gecko/20030624
Build Identifier: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.4) Gecko/20030624
None needed.
Reproducible: Always
Steps to Reproduce:
1. Put URL into the browser's URL/file-access slot.
2. Observe that only the source plaintext for the page is displayed, not HTML.
3.
Actual Results:
The result of Item 2 above occurs as stated in it.
Expected Results:
Display of the HTML rendering of the source plaintext.
The same fault occurs with Netscape 4.79, but IE 6 shows the HTML properly.
Comment 1•23 years ago
|
||
When the server serves up a page as mime type text/plain instead of text/html,
that's what you get. The server is misconfigured. This is a tech evangelism issue.
Component: DOM HTML → English US
Product: Browser → Tech Evangelism
Version: Trunk → unspecified
Comment 2•23 years ago
|
||
Please assign a bug to the correct component owner when you change the component.
Assignee: dom_bugs → english-us
Status: UNCONFIRMED → NEW
Ever confirmed: true
QA Contact: ian → english-us
Summary: Source plaintext is displayed on this page instead of the intended HTML it encodes. → polymath-systems.com - serving HTML as text/plain
| Reporter | ||
Comment 3•23 years ago
|
||
I don't know what "When the server serves up a page as mime type text/plain
instead of text/html, that's what you get," means exactly; the source text of
this page states the following in its heading:
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>About Polymath Systems</title>
</head>
Is this more of your CSS fussing? The fact is: Your quoted statement is FALSE
when one uses IE 6. So why should people prefer to use your Web-page-scrambling
browser for Web surfing when they can use IE and be confident of getting an HTML
display of all pages composed in HTML?
Ray
Comment 4•23 years ago
|
||
go to <http://webtools.mozilla.org/web-sniffer/> and paste the url of this page
You will see the server's response that the page is text not html.
HTTP/1.1 200 OKCRLF
Date: Tue, 05 Aug 2003 00:18:18 GMTCRLF
Server: Apache/1.3.19 (Unix) (Red-Hat/Linux) mod_perl/1.24_01 PHP/4.0.6
FrontPage/5.0.2 mod_ssl/2.8.1 OpenSSL/0.9.6CRLF
Last-Modified: Thu, 21 Nov 2002 09:44:45 GMTCRLF
ETag: "26826f-870-3ddcab0d"CRLF
Accept-Ranges: bytesCRLF
Content-Length: 2160CRLF
Connection: closeCRLF
Content-Type: text/plainCRLF
CRLF
You can read some background on why respecting server reported mime types is
important at <http://devedge.netscape.com/viewsource/2003/mime-types/>.
Of course, if you want to be subject to Mime type spoofs and be hacked, feel
free to use that "other browser".
This page is probably misnamed as I doubt they really wanted to name it
about,html (note the comma).
contacted info@polymath-systems.com
Status: NEW → ASSIGNED
OS: Windows 98 → All
Hardware: PC → All
Target Milestone: --- → Sep
Comment 5•23 years ago
|
||
Kevin agreed it was a naming problem. The link to about.html on the home page
has been fixed.
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
| Reporter | ||
Comment 6•23 years ago
|
||
OK, I apologize for not seeing that comma. I didn't realize MS was quite that
tolerant (read: SLOPPY).
Ray
| Reporter | ||
Comment 7•23 years ago
|
||
Actually, though, why NOT design a browser to act properly in spite of this
error. Commas cannot be used for any OTHER purpose in an URL. Why NOT allow
them to be interchanged with periods in order to accommodate such a likely error
in the typing of an URL? Maybe there's a good answer to this, but an answer
that only reflects the rampant Mozilla NIH attitude is not one.
Ray
Comment 8•23 years ago
|
||
Ray, did you read the article I referenced about mime types? This is not a
Mozilla NIH issue. It is an important feature of how mime types were designed to
be used and that Mozilla respects.
The fact is that the web server uses the extension of .html of about.html to
determine that a file is HTML and should be sent as text/html. The file
about,html does not have an extension at all and the server is configured to
send unknown file types as text/plain. Mozilla respects that as the standards
require.
If you want to debate this take it to the newsgroups.
| Reporter | ||
Comment 9•23 years ago
|
||
OK, Mr. Clary, check out netscape.public.mozilla.browser.
Ray
Updated•11 years ago
|
Product: Tech Evangelism → Tech Evangelism Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•