Skip to content

Commit e75b6de

Browse files
author
klemens
committed
spelling fixes(1)
1 parent 24fedeb commit e75b6de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

system/core/Security.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -847,7 +847,7 @@ protected function _sanitize_naughty_html($matches)
847847
// Each iteration filters a single attribute
848848
do
849849
{
850-
// Strip any non-alpha characters that may preced an attribute.
850+
// Strip any non-alpha characters that may precede an attribute.
851851
// Browsers often parse these incorrectly and that has been a
852852
// of numerous XSS issues we've had.
853853
$matches['attributes'] = preg_replace('#^[^a-z]+#i', '', $matches['attributes']);

0 commit comments

Comments
 (0)