Closed Bug 268386 Opened 20 years ago Closed 20 years ago

An in text displayed URL containing ...&lang=EN... shows opening parenthesis

Categories

(Core :: DOM: HTML Parser, defect)

x86
Windows XP
defect
Not set
minor

Tracking

()

VERIFIED INVALID

People

(Reporter: admin, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; de-AT; rv:1.7.2) Gecko/20040803
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; de-AT; rv:1.7.2) Gecko/20040803

Error: <u>&amp;lang=EN</u> as an URL parameter is displayed as opening brackets
&lang; (Def: &amp;lang;) but even without the closing ; for the HTML encoding.

Sample:
http://www.whateverdomainxxx.com/folder/file.ext?name1=value1&name2=value2&lang=EN

Reproducible: Always
Steps to Reproduce:
1. Display an unencoded URL containing a parameter named "lang" in URL at 2nd
position or higher with leading ampersand: ...&name2=value2&lang=value
Actual Results:  
&lang=... is displayed as &(=...

Expected Results:  
display of &amp;lang=...
closing ; is optional when followed by certain characters, among which is =. if
you want an ampersand, use &amp;. this bug is invalid.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
Verified.  Note that we violate the HTML spec and do what reporter apparently
wants in quirks mode, but this page is being rendered in standards mode.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.