summaryrefslogtreecommitdiffstats
path: root/system/core/Security.php
diff options
context:
space:
mode:
authorklemens <ka7@github.com>2017-01-16 21:47:20 +0100
committerklemens <ka7@github.com>2017-01-16 21:47:20 +0100
commite75b6de1be5872ad11543bb2b3691a7d9fd624e4 (patch)
treec759a1936f3c4efc9c5c0188915c6b78a544b0bd /system/core/Security.php
parent24fedeb2075194f0da475f45f400a0866d9577f9 (diff)
spelling fixes(1)
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 0fa2531b2..4ad550fff 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 preced an attribute.
+ // Strip any non-alpha characters that may precede 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']);