After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 344532 - unescaped html in description tags confuses the feed parser
unescaped html in description tags confuses the feed parser
Status: RESOLVED FIXED
Product: rhythmbox
Classification: Other
Component: Podcast
HEAD
Other Linux
: Normal normal
: ---
Assigned To: RhythmBox Maintainers
RhythmBox Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-06-11 02:06 UTC by Jonathan Matthew
Modified: 2006-06-17 01:44 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch (506 bytes, patch)
2006-06-11 02:09 UTC, Jonathan Matthew
committed Details | Review

Description Jonathan Matthew 2006-06-11 02:06:15 UTC
http://www.museumoftechno.org/rss.xml contains unescaped html in description tags.  

<description>Dave's been working on some new tracks over the winter. Here's a quick 16 minute preview mix of them… if you're a DJ and you're interested in being added to our promo list, <a href="/contact.php">contact us</a> and we'll drop you a line. Thanks for listening!</description>

closing the 'a' tag causes the parser to go back to ITEM state, then closing the description tag causes it to go back to CHANNEL state (attempting to insert the item, but failing because it has no URL).  At some point after that it drops back to RSS state.  As a result, it doesn't create any entries for the posts in the feed.
Comment 1 Jonathan Matthew 2006-06-11 02:09:28 UTC
Created attachment 67108 [details] [review]
patch

treats elements inside properties as unknown, so we only leave the property state when the tag that opened it is closed.
Comment 2 James "Doc" Livingston 2006-06-16 12:46:41 UTC
Looks fine to me.
Comment 3 Jonathan Matthew 2006-06-17 01:44:58 UTC
OK, committed.