Skip to content

Commit 0c00da2

Browse files
committed
Fix typo
1 parent 3658d73 commit 0c00da2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/codeigniter/core/Security_test.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,11 +121,11 @@ public function test_xss_clean_entity_double_encoded()
121121

122122
// --------------------------------------------------------------------
123123

124-
public function text_xss_clean_js_link_removal()
124+
public function test_xss_clean_js_link_removal()
125125
{
126126
// This one is to prevent a false positive
127127
$this->assertEquals(
128-
"<a href=\"javascrip\n<t\n:alert\n&#40;1&#41;\"\n>",
128+
"<a href=\"javascrip\n<t\n:alert\n&#40;1&#41;\">",
129129
$this->security->xss_clean("<a href=\"javascrip\n<t\n:alert\n(1)\"\n>")
130130
);
131131
}

0 commit comments

Comments
 (0)