entry_title_script.xml 346 B

123456789
  1. <!--
  2. Description: entry title contains script
  3. Expect: not bozo and entries[0]['title'] == u'safe description'
  4. -->
  5. <feed version="0.3" xmlns="http://purl.org/atom/ns#">
  6. <entry>
  7. <title type="text/html" mode="escaped">safe&lt;script type="text/javascript">location.href='http:/'+'/example.com/';&lt;/script> description</title>
  8. </entry>
  9. </feed>