Closed Bug 10028 Opened 25 years ago Closed 25 years ago

Mixed-case "mailto:" HRef ignored by the beast

Categories

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

x86
Windows 98
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: Crysgem, Assigned: nisheeth_mozilla)

References

()

Details

Apprunner Build M8, ID 1999071417

Load the following text and markup in Apprunner:

<HTML>
<Head>
<Title>Bloody</Title>
</Head>
<Body>

The folk of Bugzilla say:<BR>
<A HRef="mailto:jwz@jwz.org">Don't be a quitter.</A>
<BR>
<A HRef="MAILTO:Crysgem@hotmail.com">I'll take all you ************* on!</A>
<BR>
<A HRef="MAiltO:rickg@netscape.com">I believe I know sufficient art of C++ to
fix this bug.</A>

</Body>
</HTML>

Only the first "mailto:" reference is completely acknowledged as a well-formed
link.
Assignee: rickg → nisheeth
Nisheeth -- can you please look into this one? The parsing engine appears to be
passing the links correctly. I'm guessing link handling elsewhere.
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
CCing radha as she should know that I am changing her code!  :-)

Radha, the problem here was that we were trying to find the "mailto" string in
the url spec without ignoring case.  I changed three places where this was
happening: nsGenericElement::TriggerLink, nsWebShell::LoadURL,
nsWebShellWindow::HandleURL.  With those changes this bug is fixed.

Marking fixed.
Status: RESOLVED → VERIFIED
Hail to your algorithms! With proof of 1999072311 build, Verifying--Fixed.
You need to log in before you can comment on or make changes to this bug.