Modify ↓
#13016 closed defect (fixed)
Broken RSS feed due to unescaped & character in title element
| Reported by: | Jun Omae | Owned by: | Jun Omae |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.3.3 |
| Component: | timeline | Version: | 1.3dev |
| Severity: | normal | Keywords: | |
| Cc: | Branch: | ||
| Release Notes: | |||
| API Changes: | |||
| Internal Changes: |
Fix broken timeline rss when entry's title has xml special characters. |
||
Description
line 117, column 60: XML parsing error: <unknown>:117:60: not well-formed (invalid token) [help]
<title>Changeset [16569]: 1.3.3dev: Refactor to use `&=` operator Refs ...
Related: #12683.
Attachments (0)
Change History (7)
comment:1 by , 8 years ago
comment:2 by , 8 years ago
| Owner: | set to |
|---|---|
| Release Notes: | modified (diff) |
| Status: | new → assigned |
Proposed changes in jomae.git@t13016, which fix plaintext and add unit tests for timeline rss.
comment:4 by , 8 years ago
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
Thanks for the reviewing. Fixed in [16580].
follow-up: 6 comment:5 by , 7 years ago
| Resolution: | fixed |
|---|---|
| Status: | closed → reopened |
After [16580], <em> elements in changeset's titles are leave. We should strip <em> from the titles.
$ curl -s 'https://trac.edgewall.org/timeline?from=2018-05-29T12%3A00%3A00Z&precision=seconds&daysback=1&format=rss' | grep -F '<title>Changeset'
<title>Changeset <em>[16607]</em>: 1.3.3dev: Remove obsolete import statement
<title>Changeset in mirror <em>[13122:80bc2b88187c]</em>: 1.3.3dev: Remove obsolete import statement
I'll fix it…
comment:6 by , 7 years ago
| Resolution: | → fixed |
|---|---|
| Status: | reopened → closed |
comment:7 by , 6 years ago
Note:
See TracTickets
for help on using tickets.



timeline.rssusesplaintextfor title elements. Theplaintextin 1.2-stable returnsunicodeinstance butplaintextin trunk returnsMarkupinstance. The change of function leads the issue.plaintextin trunk should returnunicodeinstance.1.2-stable
trunk