diff options
author | Andrey Andreev <narf@devilix.net> | 2015-09-10 15:36:22 +0200 |
---|---|---|
committer | Andrey Andreev <narf@devilix.net> | 2015-09-10 15:36:22 +0200 |
commit | abc6006884658acb4e2302460f87e2f89a5a7e80 (patch) | |
tree | 8e2e610d6be363c4dbf79286533441af15ab7716 /tests/codeigniter/core | |
parent | 72ebac4eed3f5de650a26ffbc34fc0aaaa49c7d4 (diff) |
Fix & extend 700619cebf75c4e4fcda6a2d7bea1afb84a029e4
Diffstat (limited to 'tests/codeigniter/core')
-rw-r--r-- | tests/codeigniter/core/Security_test.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/codeigniter/core/Security_test.php b/tests/codeigniter/core/Security_test.php index 68b52247e..8e6d276fc 100644 --- a/tests/codeigniter/core/Security_test.php +++ b/tests/codeigniter/core/Security_test.php @@ -147,12 +147,12 @@ class Security_test extends CI_TestCase { $this->assertEquals('<foo [removed]>', $this->security->remove_evil_attributes('<foo fscommand=case-insensitive>', FALSE)); $this->assertEquals('<foo [removed]>', $this->security->remove_evil_attributes('<foo seekSegmentTime=whatever>', FALSE)); $this->assertEquals( - '<foo bar=">" baz=\'\' [removed]>', - $this->security->remove_evil_attributes('<foo bar=">" baz=\'\' onAfterGreaterThan="quotes">', FALSE) + '<foo bar=">" baz=\'>\' [removed]>', + $this->security->remove_evil_attributes('<foo bar=">" baz=\'>\' onAfterGreaterThan="quotes">', FALSE) ); $this->assertEquals( - '<foo bar=">" baz=\'\' [removed]>', - $this->security->remove_evil_attributes('<foo bar=">" baz=\'\' onAfterGreaterThan=noQuotes>', FALSE) + '<foo bar=">" baz=\'>\' [removed]>', + $this->security->remove_evil_attributes('<foo bar=">" baz=\'>\' onAfterGreaterThan=noQuotes>', FALSE) ); } |