mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-07 20:08:53 +00:00
Loosen up on the safety checking we do if HTML is on, it appears that we were making things too safe with the new code :/
Ah well, HTML is gone in 3.0.x anyway so we'll avoid this problem there... git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@5886 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
7ada8a0558
commit
0cc084856b
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ function prepare_message($message, $html_on, $bbcode_on, $smile_on, $bbcode_uid
|
|||
foreach ($message_split as $part)
|
||||
{
|
||||
$tag = array(array_shift($matches[0]), array_shift($matches[1]), array_shift($matches[2]));
|
||||
$message .= htmlspecialchars($part) . clean_html($tag);
|
||||
$message .= preg_replace($html_entities_match, $html_entities_replace, $part) . clean_html($tag);
|
||||
}
|
||||
|
||||
$message = addslashes($message);
|
||||
|
|
Loading…
Add table
Reference in a new issue