diff --git a/tests/unit/FuncIncTest.php b/tests/unit/FuncIncTest.php index 836370060..62691f8e1 100644 --- a/tests/unit/FuncIncTest.php +++ b/tests/unit/FuncIncTest.php @@ -25,7 +25,7 @@ class FuncIncTest extends \Codeception\TestCase\Test // embedded encoded tab to break up XSS - http://ha.ckers.org/xss.html array( '', - 'jav ascript:alert(\\\'XSS\\\');' + 'jav ascript:alert(\\\'XSS\\\');' ), // issue 178 array( @@ -35,12 +35,12 @@ class FuncIncTest extends \Codeception\TestCase\Test // issue 534 array( '*/" onerror="console.log(\'Yet another XSS\')">', - 'as"df dummy=*/" onerror="console.log(\'Yet another XSS\')">' + '\\\'as"df*/" onerror="console.log(\\\'Yet another XSS\\\')">' ), // issue 602 array( 'test', - '' + 'test' ), // issue #1813 https://github.com/xpressengine/xe-core/issues/1813 array(