GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
MojoMojo::Formatter::Defang(3) User Contributed Perl Documentation MojoMojo::Formatter::Defang(3)
 

MojoMojo::Formatter::Defang - Scrub user HTML and XSS

This formatter makes sure only a safe range of tags are allowed, using MojoMojo::Defang; It also tries to remove XSS attempts.

Format order can be 1-99. The Defang formatter runs on 16, just after the main formatter, in order to catch direct user input. Defang trusts the main formatter and all subsequently ran plugins to not output unsafe HTML.

Callback for custom handling specific HTML tags

Callback for custom handling URLs in HTML attributes as well as styletag/attribute declarations

Callback for custom handling style tags/attributes.

Callback for custom handling HTML tag attributes.

Calls the formatter. Takes a ref to the content as well as the context object.

MojoMojo, Module::Pluggable::Ordered, MojoMojo::Defang

Marcus Ramberg <mramberg@cpan.org>

This library is free software. You can redistribute it and/or modify it under the same terms as Perl itself.
2016-12-07 perl v5.28.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.