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

11 lines
300 B
XML
Raw Normal View History

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