Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions tests/codeigniter/core/Security_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -121,11 +121,11 @@ public function test_xss_clean_entity_double_encoded()

// --------------------------------------------------------------------

public function text_xss_clean_js_link_removal()
public function test_xss_clean_js_link_removal()
{
// This one is to prevent a false positive
$this->assertEquals(
"<a href=\"javascrip\n<t\n:alert\n&#40;1&#41;\"\n>",
"<a href=\"javascrip\n<t\n:alert\n&#40;1&#41;\">",
$this->security->xss_clean("<a href=\"javascrip\n<t\n:alert\n(1)\"\n>")
);
}
Expand Down