Closed Bug 75542 Opened 25 years ago Closed 25 years ago

Entities corrupt href value of HTML links

Categories

(Core :: Layout, defect)

x86
Windows 98
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 51355

People

(Reporter: wo, Assigned: clayton)

Details

Attachments

(1 file)

If a HTML entity occurs somewhere in the href value of a link, all special characters in the href value appear to be escaped (with M0.81 and build 2001041004). For example, <a href="javascript:alert('&nbsp;')">entity</a> is treated as: <a href="javascript:alert(%27%A0%27)">entity</a> I would expect the entity to be replaced by what it stands for, i.e. as: <a href="javascript:alert(' ')">entity</a> This is also how NN4 and IE handle it.
Attached file simple testcase
Bad news - this is a dup. Worse news - I can't remember what it's a dup of. So someone else will have to remember (or search :-)
*** This bug has been marked as a duplicate of 51355 ***
Status: UNCONFIRMED → RESOLVED
Closed: 25 years ago
Resolution: --- → DUPLICATE
SPAM. HTML Element component deprecated, changing component to Layout. See bug 88132 for details.
Component: HTML Element → Layout
QA Contact: bsharma → moied
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: