Sha256: 97037c360e91795ee3698ebe2f53f230ca35098d5d2c4eeebb29dfb101cd6491
Contents?: true
Size: 1.33 KB
Versions: 31
Compression:
Stored size: 1.33 KB
Contents
<!-- Description: feed info is crazy Expect: bozo and feed['info'] == u'Crazy HTML -' + '- Can Your Regex Parse This?\n\n\n\n<!-' + '- <script> -' + '->\n\n<!-' + '- \n\t<script> \n-' + '->\n\n\n\nfunction executeMe()\n{\n\n\n\n\n/* \n<h1>Did The Javascript Execute?</h1>\n<div>\nI will execute here, too, if you mouse over me\n</div>' --> <feed version="0.3" xmlns="http://purl.org/atom/ns#"> <info type="text/html" mode="escaped"> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Crazy HTML -- Can Your Regex Parse This?</title> </head> <body notRealAttribute="value"onload="executeMe();"foo="bar" > <!-- <script> --> <!-- <script> --> </script> <script > function executeMe() { /* <script> function am_i_javascript() { var str = "Some innocuously commented out stuff"; } < /script> */ alert("Executed"); } </script > <h1>Did The Javascript Execute?</h1> <div notRealAttribute="value "onmouseover=" executeMe(); "foo="bar"> I will execute here, too, if you mouse over me </div> </body> </html> </info> </feed
Version data entries
31 entries across 31 versions & 6 rubygems