This extension sanitizes all user input ($_POST, $_GET, $_COOKIE,$_FILES) with html purifier to protect against XSS
- Yii 1.0 or above
- Extract the release file under
Add the following to your config file.
'preload'=>array('sanitizer'), // application components 'components'=>array( 'sanitizer' => array( "class" => 'ESanitizer', 'sanitizeGet' =>false, 'sanitizePost' => true, 'sanitizeCookie' => true, ), )
Change Log ¶
September 10,2009 ¶
Update: added support for sanitizing $_FILES (enabled by default) added support for nofollowing links (enabled by default) added support for opening links in new windows (disabled by default)
September 9, 2009 ¶
- Initial release.