aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/message_parser.php
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2014-06-10 15:51:25 +0200
committerMarc Alexander <admin@m-a-styles.de>2014-06-10 15:51:25 +0200
commit5ee7f20f4ee110c2ae0b122e9efbd4fabf669581 (patch)
treea1f913af3a36ad324ebb59ef6defc83fd7b73386 /phpBB/includes/message_parser.php
parent65884bf2bd754343410a5b3d8b4eea2343dc42e9 (diff)
downloadforums-5ee7f20f4ee110c2ae0b122e9efbd4fabf669581.tar
forums-5ee7f20f4ee110c2ae0b122e9efbd4fabf669581.tar.gz
forums-5ee7f20f4ee110c2ae0b122e9efbd4fabf669581.tar.bz2
forums-5ee7f20f4ee110c2ae0b122e9efbd4fabf669581.tar.xz
forums-5ee7f20f4ee110c2ae0b122e9efbd4fabf669581.zip
[ticket/11711] Improve coding and comments of character check
PHPBB3-11711
Diffstat (limited to 'phpBB/includes/message_parser.php')
-rw-r--r--phpBB/includes/message_parser.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/message_parser.php b/phpBB/includes/message_parser.php
index 8965b50667..9d95620e0f 100644
--- a/phpBB/includes/message_parser.php
+++ b/phpBB/includes/message_parser.php
@@ -1195,7 +1195,7 @@ class parse_message extends bbcode_firstpass
}
// Check for out-of-bounds characters that are currently
- // not supported by utf8_bin
+ // not supported by utf8_bin in MySQL
if (preg_match_all('/[\x{10000}-\x{10FFFF}]/u', $this->message, $matches))
{
$character_list = implode('<br />', $matches[0]);