mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-18 18:02:15 +09:00
Encode non-BMP UTF-8 characters as HTML entities
This commit is contained in:
parent
7d44db1dcb
commit
d474c20a36
4 changed files with 31 additions and 2 deletions
|
|
@ -357,6 +357,7 @@ class commentController extends comment
|
|||
{
|
||||
$obj->content = removeHackTag($obj->content);
|
||||
}
|
||||
$obj->content = utf8_mbencode($obj->content);
|
||||
|
||||
if(!$obj->notify_message)
|
||||
{
|
||||
|
|
@ -777,6 +778,7 @@ class commentController extends comment
|
|||
{
|
||||
$obj->content = removeHackTag($obj->content);
|
||||
}
|
||||
$obj->content = utf8_mbencode($obj->content);
|
||||
|
||||
// begin transaction
|
||||
$oDB = DB::getInstance();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue