summaryrefslogtreecommitdiffstats
path: root/system/core/Security.php
diff options
context:
space:
mode:
authorklemens <ka7@github.com>2017-01-16 21:01:58 +0100
committerklemens <ka7@github.com>2017-01-16 21:01:58 +0100
commit24fedeb2075194f0da475f45f400a0866d9577f9 (patch)
tree8fd8dadad68bb36bb523bff05d1c578233912c2f /system/core/Security.php
parentf41b4e33d1d5fe8d17b3d572b9676b0fdfedc8f7 (diff)
spelling fixes
Diffstat (limited to 'system/core/Security.php')
-rw-r--r--system/core/Security.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/core/Security.php b/system/core/Security.php
index 1c398632d..0fa2531b2 100644
--- a/system/core/Security.php
+++ b/system/core/Security.php
@@ -847,7 +847,7 @@ class CI_Security {
// Each iteration filters a single attribute
do
{
- // Strip any non-alpha characters that may preceed an attribute.
+ // Strip any non-alpha characters that may preced an attribute.
// Browsers often parse these incorrectly and that has been a
// of numerous XSS issues we've had.
$matches['attributes'] = preg_replace('#^[^a-z]+#i', '', $matches['attributes']);