You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 5, 2022. It is now read-only.
This is a CakePHP wrapper for the HTML Purifier lib. http://htmlpurifier.org/
8
+
This is a CakePHP wrapper for [the HTML Purifier lib](http://htmlpurifier.org/).
9
9
10
10
HTML Purifier is a standards-compliant HTML filter library written in PHP. HTML Purifier will not only remove all malicious code (better known as XSS) with a thoroughly audited, secure yet permissive whitelist, it will also make sure your documents are standards compliant, something only achievable with a comprehensive knowledge of W3C's specifications.
11
11
12
-
The plugin includes a Helper and Behavior to clean your markup wherever you like, in the view or in Model::beforeSave.
12
+
The plugin includes a trait, a view helper, a behavior and a shell to clean your markup wherever you like, in the view or in the model layer or clean any table and field using the shell.
13
13
14
14
---
15
15
@@ -43,6 +43,6 @@ Please feel free to contribute to the plugin with new issues, requests, unit tes
43
43
License
44
44
-------
45
45
46
-
Copyright 2013 - 2015 Florian Krämer
46
+
Copyright 2012 - 2016 Florian Krämer
47
47
48
48
Licensed under the [MIT](http://www.opensource.org/licenses/mit-license.php) License. Redistributions of the source code included in this repository must retain the copyright notice found in each file.
This is a CakePHP wrapper for [the HTML Purifier lib](http://htmlpurifier.org/).
5
+
6
+
HTML Purifier is a standards-compliant HTML filter library written in PHP. HTML Purifier will not only remove all malicious code (better known as XSS) with a thoroughly audited, secure yet permissive whitelist, it will also make sure your documents are standards compliant, something only achievable with a comprehensive knowledge of W3C's specifications.
7
+
8
+
The plugin includes a trait, a view helper, a behavior and a shell to clean your markup wherever you like, in the view or in the model layer or clean any table and field using the shell.
9
+
10
+
*[Installation](Installation.md)
11
+
*[Configuration](Configuration.md)
12
+
*[Read this if you are using APC](If-you-are-using-APC.md)
13
+
*[Usage](Usage.md)
14
+
15
+
License
16
+
-------
17
+
18
+
Copyright 2012 - 2016 Florian Krämer
19
+
20
+
Licensed under the [MIT](http://www.opensource.org/licenses/mit-license.php) License. Redistributions of the source code included in this repository must retain the copyright notice found in each file.
to your bootstrap.php *before* you load this plugin.
14
+
15
+
This line will use a compacted one file version of Html Purifier. This is an official and know issue and workaround, see http://htmlpurifier.org/phorum/read.php?3,4099,6680.
to your bootstrap.php *before* you load this plugin.
18
-
19
-
This line will use a compacted one file version of Html Purifier. This is an official and know issue and workaround, see http://htmlpurifier.org/phorum/read.php?3,4099,6680.
20
-
21
-
Configuration
22
-
-------------
23
-
24
-
Important: Before you start declaring a configuration you should lookup how HTML Purifier can be configured. http://htmlpurifier.org/docs
25
-
26
-
In `config/boostrap.php` you can either set the purifier config as an array or pass a native config object.
0 commit comments