summaryrefslogtreecommitdiffstats
path: root/system/core/Security.php
diff options
context:
space:
mode:
authorAndrey Andreev <narf@bofh.bg>2012-12-03 13:37:47 +0100
committerAndrey Andreev <narf@bofh.bg>2012-12-03 13:37:47 +0100
commit838a9d69a9139b6bcd6f8765fdd2d58b929e70ad (patch)
tree3d296693ea910fd5473e9fb7dec825e4e9edae50 /system/core/Security.php
parent6a38949d5ac50a123c7fdee37d9561e02fa72884 (diff)
[ci skip] Cleaned some spaces
Diffstat (limited to 'system/core/Security.php')
-rw-r--r--system/core/Security.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/system/core/Security.php b/system/core/Security.php
index b8e66c087..c415544b6 100644
--- a/system/core/Security.php
+++ b/system/core/Security.php
@@ -368,7 +368,7 @@ class CI_Security {
}
else
{
- $str = str_replace(array('<?', '?'.'>'), array('&lt;?', '?&gt;'), $str);
+ $str = str_replace(array('<?', '?'.'>'), array('&lt;?', '?&gt;'), $str);
}
/*
@@ -382,7 +382,6 @@ class CI_Security {
'applet', 'alert', 'document', 'write', 'cookie', 'window'
);
-
foreach ($words as $word)
{
$word = implode('\s*', str_split($word)).'\s*';