Closed Bug 62742 Opened 24 years ago Closed 23 years ago

bad META REFRESH causing heavy server load

Categories

(Core :: DOM: HTML Parser, defect, P3)

x86
All
defect

Tracking

()

RESOLVED WORKSFORME
Future

People

(Reporter: dmitry, Assigned: jag+mozilla)

Details

(Keywords: testcase)

Attachments

(1 file)

if document contains bad HTML code like
<META HTTP-EQUIV="REFRESH" CONTENT="25>
it reloads page permanently
I checked IE 5.5 and NS 4.7 and neither one of them handled it gracefully
either. I considered resolving this INVALID because of the bad HTML but am
instead confirming it because of the way it is handled.  Both NS and IE print
the bad META tag before any of the content, but Mozilla instead sets the refresh
to "0".  This can have an adverse effect on the web server it's being run from.

Not sure where this would go so I'm moving it to Parser.
Assignee: mkaply → harishd
Status: UNCONFIRMED → NEW
Component: Browser-General → Parser
Ever confirmed: true
Keywords: testcase
OS: OS/2 → All
QA Contact: doronr → janc
Summary: bad META REFRESH causing problems → bad META REFRESH causing heavy server load
BTW: testcase attachment contains invisible string:
"This page contains the following invalid HTML
"

Probably its related to nonclosed quotationmarks

Yes, it is... if you turn on view source coloring by adding

user_pref("browser.view_source.syntax_highlight", true);

to prefs.js (see bug 52154) and then do a view source of the testcase, you can
in fact see that the unclosed string is casing this text to not show up.

Forgot to mention, Also seeing this using a 20001211 build on Win2k
Keywords: 4xp
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla0.9.1
updated qa contact.
QA Contact: janc → bsharma
This bug has been marked "future" because the original netscape engineer working 
on this is over-burdened. If you feel this is an error, that you or another 
known resource will be working on this bug,or if it blocks your work in some way 
-- please attach your concern to the bug for reconsideration. 
Target Milestone: mozilla0.9.1 → Future
The given tag <META HTTP-EQUIV="REFRESH" CONTENT="25> is now (in build
2001060703) treated as if it were <META HTTP-EQUIV="REFRESH" CONTENT="0;
URL=25>">.  This is less of a problem but rather odd.  This just gave me trouble
with http://www.freeairmiles.com (a site I would generally disrecommend but
which has
my email address).

QA Contact: bsharma → moied
I'll take this.
Assignee: harishd → jaggernaut
Status: ASSIGNED → NEW
And marking WFM. I fixed this a while back.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: