aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/message_parser.php
diff options
context:
space:
mode:
authorNils Adermann <naderman@naderman.de>2006-11-12 14:29:32 +0000
committerNils Adermann <naderman@naderman.de>2006-11-12 14:29:32 +0000
commitcf34efb06ce62407232d63dd4e73b8afc6e2a4ef (patch)
tree59501fb88bc314e1fd63c122990d35eb9dc96a7f /phpBB/includes/message_parser.php
parentfa9d7e4ab47cf3655617a815adcfa369ae0e8706 (diff)
downloadforums-cf34efb06ce62407232d63dd4e73b8afc6e2a4ef.tar
forums-cf34efb06ce62407232d63dd4e73b8afc6e2a4ef.tar.gz
forums-cf34efb06ce62407232d63dd4e73b8afc6e2a4ef.tar.bz2
forums-cf34efb06ce62407232d63dd4e73b8afc6e2a4ef.tar.xz
forums-cf34efb06ce62407232d63dd4e73b8afc6e2a4ef.zip
message
git-svn-id: file:///svn/phpbb/trunk@6569 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/message_parser.php')
-rw-r--r--phpBB/includes/message_parser.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/phpBB/includes/message_parser.php b/phpBB/includes/message_parser.php
index ab5ee46824..6538bd7721 100644
--- a/phpBB/includes/message_parser.php
+++ b/phpBB/includes/message_parser.php
@@ -1139,6 +1139,7 @@ class parse_message extends bbcode_firstpass
$num_attachments = sizeof($this->attachment_data);
$this->filename_data['filecomment'] = request_var('filecomment', '', true);
+ utf8_normalize_nfc(&$this->filename_data['filecomment']);
$upload_file = (isset($_FILES[$form_name]) && $_FILES[$form_name]['name'] != 'none' && trim($_FILES[$form_name]['name'])) ? true : false;
$add_file = (isset($_POST['add_file'])) ? true : false;
@@ -1256,6 +1257,7 @@ class parse_message extends bbcode_firstpass
if ($edit_comment)
{
$actual_comment_list = request_var('comment_list', array(''), true);
+ utf8_normalize_nfc(&$actual_comment_list);
$edit_comment = request_var('edit_comment', array(0 => ''));
$edit_comment = key($edit_comment);
@@ -1321,6 +1323,7 @@ class parse_message extends bbcode_firstpass
global $user, $db, $phpbb_root_path, $phpEx, $config;
$this->filename_data['filecomment'] = request_var('filecomment', '', true);
+ utf8_normalize_nfc(&$this->filename_data['filecomment']);
$attachment_data = (isset($_POST['attachment_data'])) ? $_POST['attachment_data'] : array();
$this->attachment_data = array();