[BUGFIX] Use callback in preg_replace in RemoveXSS 23/24723/3
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:02:43 +0000 (00:02 +0200)
commitf58a27c8b2bc8256f3e0b95374e32a19e0167647
treea5f68bff88316480bab24402bd33d00cba9cb3f3
parent6c510d9d718937f3d1000eb9274f5bd63da14f4e
[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/24723
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
Reviewed-by: Markus Klein
Tested-by: Markus Klein
typo3/contrib/RemoveXSS/RemoveXSS.php