mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-04 15:57:45 +02:00
Another attempt at handling & entities correctly
git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@4099 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -25,7 +25,7 @@ if (!defined('IN_PHPBB'))
|
|||||||
die('Hacking attempt');
|
die('Hacking attempt');
|
||||||
}
|
}
|
||||||
|
|
||||||
$html_entities_match = array('#&#', '#<#', '#>#');
|
$html_entities_match = array('#&(?!(\#[0-9]+;))#', '#<#', '#>#');
|
||||||
$html_entities_replace = array('&', '<', '>');
|
$html_entities_replace = array('&', '<', '>');
|
||||||
|
|
||||||
$unhtml_specialchars_match = array('#>#', '#<#', '#"#', '#&#');
|
$unhtml_specialchars_match = array('#>#', '#<#', '#"#', '#&#');
|
||||||
|
Reference in New Issue
Block a user