Closed Bug 290101 Opened 20 years ago Closed 20 years ago

Character entity references do not require semicolons

Categories

(Firefox :: General, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 155047

People

(Reporter: briankearney, Assigned: bugzilla)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050317 Firefox/1.0.2
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050317 Firefox/1.0.2

Character entity references do not require semicolons, for many sites this
messes up proper display of links and other text.

Reproducible: Always

Steps to Reproduce:
1. Put &image (or other character entity reference) as a get parameter in a
URL and don't use &image [note: not sure how bugzilla will handle html]
2. ...
3. Profit?
Actual Results:  
the URL becomes an invalid URL as instead of a get parameter you get a single
character

Expected Results:  
like IE and every other browser does, put '&' and 'image' together as text since
there is no semicolon to delimit it as character entity reference

http://www.w3.org/TR/REC-html40/charset.html#h-5.1 seems to specify that it
should require a semicolon
DUP of Bug 155047, ie. INVALID.
Read thru my stupid questions and teaching by Boris Zbarsky in Bug 278404, which
is another DUP of Bug 155047.

*** This bug has been marked as a duplicate of 155047 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.