Edgewall Software

Opened 17 years ago

Closed 16 years ago

#1725 closed defect (duplicate)

timeline RSS XML includes unescaped characters in author element

Reported by: brad@… Owned by: Jonas Borgström
Priority: normal Milestone:
Component: timeline Version: devel
Severity: normal Keywords: rss xml unescaped
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:


In the RSS view of the timeline, less-than and greater-than signs in the author elements, e.g. as used in email addresses like:

John Doe <jdoe@…>

are not escaped. That can make the RSS XML unparseable and break the feed.

A concrete example:

$ curl -s "http://cvs.mythtv.org/trac/timeline?changeset=on&milestone=on&ticket=on&ticket_details=on&wiki=on&max=50&daysback=90&format=rss" | xmllint -
-:234: parser error : error parsing attribute name
     <author>Anduin Withers <awithers@anduin.com></author>
-:234: parser error : attributes construct error
     <author>Anduin Withers <awithers@anduin.com></author>
-:234: parser error : Couldn't find end of Start Tag awithers line 234
     <author>Anduin Withers <awithers@anduin.com></author>


Attachments (0)

Change History (2)

comment:1 by dbt@…, 17 years ago

Yes. This is currently happening to the trac timeline rss feed, see the feed validator

comment:2 by Christian Boos, 16 years ago

Resolution: duplicate
Status: newclosed

See #1912 and #2290.

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Jonas Borgström.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Jonas Borgström to the specified user.

Add Comment

E-mail address and name can be saved in the Preferences .
Note: See TracTickets for help on using tickets.