yxss-filter Use Kohana regexp to sanitize all user input

  1. Documentation
  2. Change Log

This extension is sanitize all user input

Resources

Documentation

Requirements

* Yii 1.0 or above

Installation

* Extract the release file under protected/filters

Usage

Add the following code to your controller.

 public function filters()
 {
            return array(
                    array(
                          'application.filters.YXssFilter',
                          'clean'   => '*',
                          'tags'    => 'strict',
                          'actions' => 'all'
                    )
            );

 }

Change Log

September 10, 2009
  • Initial release.
5 1
7 followers
1 144 downloads
Yii Version: 1.1
License: BSD-2-Clause
Category: Security
Tags:
Developed by: xomaa
Created on: Sep 10, 2009
Last updated: 8 years ago

Downloads

show all