We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3658d73 commit 0c00da2Copy full SHA for 0c00da2
tests/codeigniter/core/Security_test.php
@@ -121,11 +121,11 @@ public function test_xss_clean_entity_double_encoded()
121
122
// --------------------------------------------------------------------
123
124
- public function text_xss_clean_js_link_removal()
+ public function test_xss_clean_js_link_removal()
125
{
126
// This one is to prevent a false positive
127
$this->assertEquals(
128
- "<a href=\"javascrip\n<t\n:alert\n(1)\"\n>",
+ "<a href=\"javascrip\n<t\n:alert\n(1)\">",
129
$this->security->xss_clean("<a href=\"javascrip\n<t\n:alert\n(1)\"\n>")
130
);
131
}
0 commit comments