MyBB.de Forum

Normale Version: HTMLPurifier
Du siehst gerade eine vereinfachte Darstellung unserer Inhalte. Normale Ansicht mit richtiger Formatierung.
Eine neue Erweiterung wurde veröffentlicht: HTMLPurifier

Zitat:Use the HTMLPurifier library to filter malicious HTML. Open Source, LGPL.

Notes:
I can't vouch for the quality of the filtered HTML, as that is done by the external library.
Because the filtering is highly expensive, it is only done as you post (before it goes into the database).
Bad HTML can cause text to be filtered (and thereby lost) when posting.
Signatures are only filtered when edited via the User CP. Mod CP / Admin CP edits are not affected.

Installation instructions:

- Upload htmlpurifier.php to inc/plugins/

- Download the HTMLPurifier Library from http://htmlpurifier.org/
(use version 4.2.0 or newer)

- Upload the HTMLPurifier library to inc/plugins/htmlpurifier/
(only the library/ folder, rename it to htmlpurifier/)

- Create a directory cache/htmlpurifier and make it writable

- Activate the plugin