webui::xss::XssCleaner Class Reference
List of all members.
Detailed Description
Definition at line 12 of file xss.py.
Member Function Documentation
def webui::xss::XssCleaner::__init__ |
( |
|
self, |
|
|
|
fmt = AbstractFormatter | |
|
) |
| | |
def webui::xss::XssCleaner::handle_charref |
( |
|
self, |
|
|
|
ref | |
|
) |
| | |
def webui::xss::XssCleaner::handle_comment |
( |
|
self, |
|
|
|
comment | |
|
) |
| | |
def webui::xss::XssCleaner::handle_data |
( |
|
self, |
|
|
|
data | |
|
) |
| | |
def webui::xss::XssCleaner::handle_endtag |
( |
|
self, |
|
|
|
tag, |
|
|
|
attrs | |
|
) |
| | |
def webui::xss::XssCleaner::handle_entityref |
( |
|
self, |
|
|
|
ref | |
|
) |
| | |
def webui::xss::XssCleaner::handle_starttag |
( |
|
self, |
|
|
|
tag, |
|
|
|
method, |
|
|
|
attrs | |
|
) |
| | |
def webui::xss::XssCleaner::strip |
( |
|
self, |
|
|
|
rawstring | |
|
) |
| | |
Returns the argument stripped of potentially harmful HTML or Javascript code
Definition at line 96 of file xss.py.
def webui::xss::XssCleaner::unknown_endtag |
( |
|
self, |
|
|
|
tag | |
|
) |
| | |
def webui::xss::XssCleaner::unknown_starttag |
( |
|
self, |
|
|
|
tag, |
|
|
|
attributes | |
|
) |
| | |
def webui::xss::XssCleaner::url_is_acceptable |
( |
|
self, |
|
|
|
url | |
|
) |
| | |
def webui::xss::XssCleaner::xtags |
( |
|
self |
) |
|
Returns a printable string informing the user which tags are allowed
Definition at line 104 of file xss.py.
Member Data Documentation
The documentation for this class was generated from the following file: