mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
2 minor changes arising from testing
git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@5632 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -833,7 +833,7 @@ function clean_html($tag)
|
||||
}
|
||||
|
||||
$allowed_html_tags = preg_split('/, */', strtolower($board_config['allow_html_tags']));
|
||||
$disallowed_attributes = '/^(?:style|on)/';
|
||||
$disallowed_attributes = '/^(?:style|on)/i';
|
||||
|
||||
// Check if this is an end tag
|
||||
preg_match('/<[^\w\/]*\/[\W]*(\w+)/', $tag[0], $matches);
|
||||
|
Reference in New Issue
Block a user