removing patterns that don't get sanitized, but also don't get interpreted when inserted into the HTML

pull/258/head
El RIDO 7 years ago
parent 56f4ee5c20
commit d0cccce7a8
No known key found for this signature in database
GPG Key ID: 0F5C940A6BD81F92

@ -1469,12 +1469,6 @@ describe('PasteViewer', function () {
'<TABLE BACKGROUND="javascript:alert(\'XSS\')">',
'<TABLE><TD BACKGROUND="javascript:alert(\'XSS\')">',
'<SCRIPT>document.write("<SCRI");</SCRIPT>PT SRC="httx://xss.rocks/xss.js"></SCRIPT>',
'(alert)(1)',
'a=alert,a(1)',
'top[“al”+”ert”](1)',
'top[/al/.source+/ert/.source](1)',
'al\u0065rt(1)',
'top[8680439..toString(30)](1)'
]),
'string',
function (format, prefix, xss, suffix) {

Loading…
Cancel
Save