SickGear/lib/feedparser/tests/wellformed/sanitize/item_description_script.xml

11 lines
321 B
XML
Raw Normal View History

<!--
Description: item description contains script
Expect: not bozo and entries[0]['description'] == u'safe description'
-->
<rss version="2.0">
<channel>
<item>
<description>safe&lt;script type="text/javascript">location.href='http:/'+'/example.com/';&lt;/script> description</description>
</item>
</channel>
</rss>