This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
| name | age | message | |
|---|---|---|---|
| |
MIT-LICENSE | ||
| |
README | ||
| |
Rakefile | ||
| |
init.rb | ||
| |
install.rb | ||
| |
lib/ | ||
| |
tasks/ | ||
| |
test/ | ||
| |
uninstall.rb |
README
EtraSanitize ======================================================================================================================== ==================== This plugin provides the ability to put an extra layer of sanitization for you database columns - if you are already using xss_terminate. Example ======================================================================================================================== ==================== class Book < ActiveRecord::Base extra_sanitize :columns => :title end OR class Article < ActiveRecord::Base extra_sanitize :columns => [:title, :body], :except => [:body] end OR class Post < ActiveRecord::Base extra_sanitize :columns => :all end OR class Tag < ActiveRecord::Base extra_sanitize :columns => :all, :reg_exp => /[~?¿]/ #you can replace the default regular expression end Copyright (c) 2009 (Amit Kumar), released under the MIT license








