1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-11-14 13:25:11 -05:00
SickRage/lib/feedparser/tests/wellformed/base/unsafe_base.xml
echel0n 0e82c5f573 Added RSS feedparser lib to process custom torrent RSS feeds.
Adjusted code for custom RSS feed parsing now that feedparser does the parsing for us all we do is pull the data from the returned entries.
2014-04-25 16:41:47 -07:00

11 lines
487 B
XML

<!--
SkipUnless: feedparser.ACCEPTABLE_URI_SCHEMES
Description: xml:base is unsafe (uses unacceptable URI protocol)
Expect: not bozo and entries[0]['title_detail']['base'] == u'http://example.com/'
-->
<feed version="0.3" xmlns="http://purl.org/atom/ns#">
<entry xml:base="http://example.com/">
<title type="application/xhtml+xml" xml:base="javascript:alert('unsafe')"><div xmlns="http://www.w3.org/1999/xhtml">Example <a href="test.html">test</a></div></title>
</entry>
</feed>