mirror of
https://github.com/phpbb/phpbb.git
synced 2025-05-04 14:47:52 +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:
parent
d4234285f6
commit
1393e9fc6d
@ -25,7 +25,7 @@ if (!defined('IN_PHPBB'))
|
||||
die('Hacking attempt');
|
||||
}
|
||||
|
||||
$html_entities_match = array('#&#', '#<#', '#>#');
|
||||
$html_entities_match = array('#&(?!(\#[0-9]+;))#', '#<#', '#>#');
|
||||
$html_entities_replace = array('&', '<', '>');
|
||||
|
||||
$unhtml_specialchars_match = array('#>#', '#<#', '#"#', '#&#');
|
||||
|
Loading…
x
Reference in New Issue
Block a user