1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-04-14 04:42:04 +02:00

Merge branch '3.3.x'

This commit is contained in:
Marc Alexander 2020-05-18 21:41:30 +02:00
commit 6713cbd7ef
No known key found for this signature in database
GPG Key ID: 50E0D2423696F995

@ -105,6 +105,12 @@ class report
$reason_id = $this->request->variable('reason_id', 0);
$report_text = $this->request->variable('report_text', '', true);
/**
* Replace Emojis and other 4bit UTF-8 chars not allowed by MySQL to UCR/NCR.
* Using their Numeric Character Reference's Hexadecimal notation.
*/
$report_text = utf8_encode_ucr($report_text);
$submit = $this->request->variable('submit', '');
$cancel = $this->request->variable('cancel', '');