Check everything for entities.

git-svn-id: http://svn.automattic.com/wordpress/trunk@2085 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
saxmatt 2005-01-11 22:42:09 +00:00
parent 5ad9ecc675
commit 5db85f10c6
1 changed files with 1 additions and 1 deletions

View File

@ -386,7 +386,7 @@ function wp_blacklist_check($author, $email, $url, $comment, $user_ip, $user_age
do_action('wp_blacklist_check', '');
if ( preg_match_all('/&#(\d+);/', $comment, $chars) ) {
if ( preg_match_all('/&#(\d+);/', $comment . $author . $url, $chars) ) {
foreach ($chars[1] as $char) {
// If it's an encoded char in the normal ASCII set, reject
if ($char < 128)