"&isin" interpreted w/o ';'

RESOLVED INVALID

Status

()

RESOLVED INVALID
9 years ago
9 years ago

People

(Reporter: julien.t43+mozilla, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

9 years ago
User-Agent:       Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; fr; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3
Build Identifier: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; fr; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3

In some html content, I display url like 
http://www.bolsamania.fr/analyses/analisis.php?origen=bolsamania_fr.bms_analisis_traducido&id=BMS_A_20100414094337&isin=FR0003500008&esficha=

the "&isin" is replaced by "∈" when displayed by Firefox (source code is still ok)
Safari4 seems to have the same bug.
Not tested with IE.

is there a way to enforce strict respect of html encoding ? some about:config option ?

Reproducible: Always

Steps to Reproduce:
1. put the previous url or any string with "&isin" in some html file
2. open in Firefox
3. see it replaces by "∈"
This is the correct behavior per HTML spec (and safari's doing the same thing is not an accident).  The set of characters that terminate named entities in HTML is _much_ larger than just ';', and in particular '=' is in the set.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 9 years ago
Resolution: --- → INVALID
And the right way to write that url is using "&isin="
You need to log in before you can comment on or make changes to this bug.