Closed Bug 281969 Opened 20 years ago Closed 20 years ago

& isn't escaped when it is the first character

Categories

(Core Graveyard :: RDF, defect)

x86
Windows 2000
defect
Not set
minor

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: mcsmurf, Assigned: axel)

Details

(Keywords: regression)

Attachments

(2 files)

When & is the first character in a NC:Name attribute (in downloads.rdf), it
doesn't get escaped and so leads to invalid RDF.
Good, no branches infected. This is a regression from bug 239369, and is merely me
being unable to count down to zero.
Very low risk, patch coming up.
Keywords: regression
Attachment #174083 - Flags: superreview?(shaver)
Attachment #174083 - Flags: review?(bugzilla)
Attachment #174083 - Flags: review?(bugzilla) → review+
Comment on attachment 174083 [details] [diff] [review]
encode entities up to the very start.

requesting approval, this is really a trivial fix for a regression in
downloads.rdf
Attachment #174083 - Flags: approval1.8b?
sample of bug, 
		   NC:Name="&stabstable releases.htm"
get's serialized as
		   NC:Name="&stabstable releases.htm"
Attachment #174083 - Flags: superreview?(shaver) → superreview+
Comment on attachment 174083 [details] [diff] [review]
encode entities up to the very start.

a=asa for 1.8b checkin.
Attachment #174083 - Flags: approval1.8b? → approval1.8b+
checked in, thanks for reviews and approval
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: