Editor PHP 2.2.2

Htmlaw.php

HtmLawed is used here to provide protection against XSS attacks with Editor input - see the `Field->xss()` method. The Vanilla forums wrapper is used to provide sensible defaults and a clean interface for HtmLawed.

Changes:

  • Add DataTables/HtmLawed namespace to this and htmLawed - this is to ensure that if htmLawed is included by any other aspect of the site it will not result in a conflict.
  • Use the OOP version of htmLawed (required a single updated to call it) to make the namespacing relatively easy.
  • Change the name of the Vanilla class so it don't conflict with the htmLawed OOP class
  • Update all htmLawed:: references to \DataTables\HtmLawed\HtmLawed:: in the htmLawed file (to allow callbacks to operate correctly)
  • Updated Vanilla wrapper to operate on PHP 5.3

HtmLawed: http://www.bioinformatics.org/phplabware/internal_utilities/htmLawed/ Copyright: Santosh Patnaik License: Dual licensed with LGPL 3 and GPL 2+

Vanilla wrapper for HtmLawed: https://github.com/vanilla/htmlawed/ Author: Todd Burry todd@vanillaforums.com Copyright: 2009-2014 Vanilla Forums Inc. License: LGPL-3.0

Interfaces, Classes, Traits and Enums

Htmlaw
A class wrapper for the htmLawed library.

Search results