[BUGFIX] Use callback in preg_replace in RemoveXSS 55/24755/2
authorJigal van Hemert <jigal.van.hemert@typo3.org>
Mon, 14 Oct 2013 08:34:52 +0000 (10:34 +0200)
committerMarkus Klein <klein.t3@mfc-linz.at>
Mon, 14 Oct 2013 22:04:14 +0000 (00:04 +0200)
commit992e4ef6e7bb6ef35d13ee784273eb1a6efa6a87
treec9c735ad24edceaac2c9241ad30268e1af393c29
parent50942c216c7533da2654991533aaa887b1fbc46d
[BUGFIX] Use callback in preg_replace in RemoveXSS

Since PHP 5.5.0 the use of the /e modifier is deprecated in preg_replace.
Use callback function instead.
Also change comments to CGL format.

Change-Id: I44f12e8bfa1c976e494dae847cc6c53d15ed7c2d
Fixes: #52771
Releases: 6.0, 6.1, 6.2
Reviewed-on: https://review.typo3.org/24755
Reviewed-by: Markus Klein
Tested-by: Markus Klein
typo3/contrib/RemoveXSS/RemoveXSS.php