0
0
mirror of https://github.com/ezyang/htmlpurifier.git synced 2024-09-18 18:25:18 +00:00
htmlpurifier/tests
Mateusz Turcza 3bdc031224
Add %HTML.Forms config directive (#260)
The %HTML.Forms directive enables Forms module regardless of the %HTML.Trusted
value. This adds support for form elements without enabling other unsafe
modules, such as Scripts, Iframe or Object.

To achieve the same effect without this directive one has to explicitly list
all enabled modules in %HTML.AllowedModules, and any not listed will be
removed. This however is not very convenient, as the allowed modules may vary
between doctypes.

Resolves #213.
2020-06-28 20:26:33 -04:00
..
FSTools PSR-2 reformatting PHPDoc corrections 2013-08-17 22:27:26 -04:00
HTMLPurifier Add %HTML.Forms config directive (#260) 2020-06-28 20:26:33 -04:00
PHPT PSR-2 reformatting PHPDoc corrections 2013-08-17 22:27:26 -04:00
tmp Add vim modelines to all files. 2008-12-06 04:24:59 -05:00
CliTestCase.php PSR-2 reformatting PHPDoc corrections 2013-08-17 22:27:26 -04:00
common.php Don't define __autoload; rely on spl_autoload_register 2018-11-11 16:55:01 -05:00
Debugger.php Don't use PHP4-style constructors 2016-03-16 17:09:41 -07:00
default_load.php Add one more test for SPL autoload defaults. 2011-12-25 02:58:51 -05:00
generate_mock_once.func.php PSR-2 reformatting PHPDoc corrections 2013-08-17 22:27:26 -04:00
HTMLPurifierTest.php Make purifyArray work with empty array (#245) 2020-02-22 12:12:02 -05:00
index.php Recent PHPs default to display_error=0, override this in index.php 2019-07-14 14:04:12 -04:00
multitest.php Modernize some of the testing facilities. 2012-01-18 18:10:16 -05:00
path2class.func.php PSR-2 reformatting PHPDoc corrections 2013-08-17 22:27:26 -04:00
test_files.php Add vim modelines to all files. 2008-12-06 04:24:59 -05:00