diff options
author | Derek Jones <derek.jones@ellislab.com> | 2007-05-04 20:19:17 +0200 |
---|---|---|
committer | Derek Jones <derek.jones@ellislab.com> | 2007-05-04 20:19:17 +0200 |
commit | 01f72ca6c27d99938cd1f814f812c5b844d51b83 (patch) | |
tree | 56b18a1762feda381932e5ef68a99a251c75a07e /system/application/models | |
parent | 4ae32254fe4effa34c42e1f38708cb7a43db9ed8 (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/application/models')
0 files changed, 0 insertions, 0 deletions