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 (
whistler /
| name | age | message | |
|---|---|---|---|
| |
LICENSE | Wed Mar 19 03:47:52 -0700 2008 | [hassox] |
| |
README | Wed Mar 19 06:12:24 -0700 2008 | [hassox] |
| |
Rakefile | Fri Mar 21 23:34:05 -0700 2008 | [hassox] |
| |
TODO | Wed Mar 19 03:47:52 -0700 2008 | [hassox] |
| |
lib/ | Wed Mar 19 06:07:56 -0700 2008 | [hassox] |
| |
spec/ | Wed Mar 19 06:07:56 -0700 2008 | [hassox] |
README
Whistler ============== Whistler is a white listing markup filter based on the specifications of the rails plugin by Rick Olson, aka technoweenie. http://techno-weenie.net/ Whistler relies on the Hpricot library http://code.whytheluckystiff.net/hpricot This is very alpha at the moment. Please help make it great. Whistler strips, and or sanitizes arbitrary XML/HTML style markup of any tags not explicitly included in the white list. It doesn't try to play catch-up with possible exploites such as black-listing systems do. Usage is very simple. === Example # Applies the normal white list defaults Whistler.white_list( dodgy_markup ) # Adds custom tags to allow Whistler.white_list(dodgy_markup, :add_tags => %w(news_tag my_tag other_tag)) If Whistler is unable to read tags as "tags" it will instead sanitize potential XSS attempts in the text. Normal, non-malicious text should still appear correctly.




