summaryrefslogtreecommitdiffstats
path: root/tests/codeigniter/core
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2015-09-10 15:36:22 +0200
committerAndrey Andreev <narf@devilix.net>2015-09-10 15:36:22 +0200
commitabc6006884658acb4e2302460f87e2f89a5a7e80 (patch)
tree8e2e610d6be363c4dbf79286533441af15ab7716 /tests/codeigniter/core
parent72ebac4eed3f5de650a26ffbc34fc0aaaa49c7d4 (diff)
Diffstat (limited to 'tests/codeigniter/core')
-rw-r--r--tests/codeigniter/core/Security_test.php8
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)
);
}