summaryrefslogtreecommitdiffstats
path: root/system/libraries/Unit_test.php
diff options
context:
space:
mode:
authorDerek Jones <derek.jones@ellislab.com>2007-05-04 20:19:17 +0200
committerDerek Jones <derek.jones@ellislab.com>2007-05-04 20:19:17 +0200
commit01f72ca6c27d99938cd1f814f812c5b844d51b83 (patch)
tree56b18a1762feda381932e5ef68a99a251c75a07e /system/libraries/Unit_test.php
parent4ae32254fe4effa34c42e1f38708cb7a43db9ed8 (diff)
Modified XSS Cleaning routine to be more performance friendly and compatible with PHP 5.2's new PCRE backtrack and recursion limits.
- replaced link and image tag javascript sanitization preg_replace()'s with callback functions to avoid excessive backtracks on strings with many links / image tags.
Diffstat (limited to 'system/libraries/Unit_test.php')
0 files changed, 0 insertions, 0 deletions