Modify ↓
Opened 19 years ago
Closed 19 years ago
#1725 closed defect (duplicate)
timeline RSS XML includes unescaped characters in author element
Reported by: | 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: |
Description
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>
—Brad
Attachments (0)
Note:
See TracTickets
for help on using tickets.
Yes. This is currently happening to the trac timeline rss feed, see the feed validator