Bug #563
atom10 feed doesn't escape quote (") characters in link titles
| Status : | Assigned | Start : | ||
| Priority : | Normal | Due date : | ||
| Assigned to : | scott - | % Done : | 0% |
|
| Category : | frontend | |||
| Target version : | - | |||
| Resolution : |
Description
I wrote an article that used a quoted phrase in the title (The lay of the land at "milestone05"). When importing the feed into Firefox's RSS reader one of my readers got the following message:
http://rewrite.rickbradley.com/xml/atom10/feed.xml XML Parsing Error: not well-formed Location: http://rewrite.rickbradley.com/xml/atom10/feed.xml Line Number 22, Column 42: <link title="The lay of the land at "milestone05"" length="47548" rel="enclosure" type="image/png" href="http://rewrite.rickbradley.com/files/screen-milestone-051.png"/>
It appears that the feed generator is not properly escaping " characters inside the "-ed title attribute of the link element in the atom10 feed.
I did an svn update, found the code which generates it, and found the test code for atom10, but now I'm not going to have a chance today to finish the test and patch, so I'm filing a ticket. I've changed the title to something without "s for the time being, but the problem should be easily reproducible.