External bencode library and some other changes.

This commit is contained in:
Yuriy Pikhtarev 2017-05-26 02:21:46 +03:00
commit bb6f772627
No known key found for this signature in database
GPG key ID: 3A9B5A757B48ECC6
10 changed files with 137 additions and 85 deletions

View file

@ -112,7 +112,7 @@ function bbcode_tpl_compact($text)
// prepare a posted message for entry into the database
function prepare_message($message)
{
$message = bbcode::clean_up($message);
$message = \TorrentPier\Legacy\BBCode::clean_up($message);
$message = htmlCHR($message, false, ENT_NOQUOTES);
return $message;
}