Open Bug 658223 Opened 12 years ago Updated 6 months ago

troubles with 'reg' conversion

Categories

(Firefox :: General, defect)

4.0 Branch
x86
Windows XP
defect

Tracking

()

UNCONFIRMED

People

(Reporter: ray-nger, Unassigned)

References

()

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows NT 5.1; rv:2.0.1) Gecko/20100101 Firefox/4.0.1
Build Identifier: Mozilla/5.0 (Windows NT 5.1; rv:2.0.1) Gecko/20100101 Firefox/4.0.1

FF4 convert (ampersand)reg in a wrong way.

I mean when FF meet the sequence of symbols (ampersand)reg it always convert it to ® symbol, but it should be converted only if this sequence finished with ';', isn't it?


Reproducible: Always

Steps to Reproduce:
1.create this simple html file and then open it:

action=save&region_id=41<br>
look&register<br>
login&registration


Actual Results:  
action=save®ion_id=41
look®ister
login®istration

Expected Results:  
action=save(ampersand)ion_id=41
look(ampersand)register
login(ampersand)registration

(ampersand) mean 0x26 in ascii table, single char.
On screenshot you can see the source on blue side and result on white side
Version: unspecified → 4.0 Branch
For what its worth this is parity what chrome and IE. Opera does it as the reporter expects it to be.

On the other hand leaving & in html isn't valid either it should be replaced with &amp;.
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.