Closed Bug 367043 Opened 19 years ago Closed 19 years ago

Perl webpages render as plain text instead of html.

Categories

(Firefox :: General, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: abudabitd, Unassigned)

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.1) Gecko/20061204 Firefox/2.0.0.1 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.1) Gecko/20061204 Firefox/2.0.0.1 Perl websites ending in .pl, for example http://www.blah.com/page.pl render as .txt would instead of .html Most .pl are intended to render as html and not plain text. Reproducible: Always Steps to Reproduce: 1. Go to a .pl webpage Actual Results: Shows as plain text - html tags are displayed instead of rendered Expected Results: Followed the html protocols.
Um, no. The output of a Perl script can be anything, from HTML to an executable to an image to "here's some HTML source sent as plain text, which if it were rendered, would exploit a security hole in your browser." Other browsers may second-guess the server's Content-type header, and decide to treat text/plain as text/html, but that's their security hole, not ours. When you find an actual page that should be rendered as HTML, but isn't because the server fails to do its job of saying that it's text/html, please use the "Report Broken Web Site..." item in the Help menu.
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.