0
0
mirror of https://github.com/ezyang/htmlpurifier.git synced 2024-09-19 10:45:18 +00:00
Standards compliant HTML filter written in PHP. http://htmlpurifier.org
Go to file
Nick Pope 0b9db1f54b Allow non-static autoload methods w/ PHP >= 5.2.11
HTML Purifier loads itself as the first autoload function by
unregistering all existing functions and re-registering them after
registering itself.

Originally an exception was thrown when a non-static object method was
encountered as the behaviour of spl_autoload_functions() did not return
the object instance, but only the class name.  This was filed on PHP
bugs (#44144).

The bug was fixed for PHP >= 5.2.11 and >= 5.3

Signed-off-by: Nick Pope <nick@nickpope.me.uk>
Signed-off-by: Edward Z. Yang <ezyang@mit.edu>
2010-10-28 17:25:17 +01:00
art [2.0.1] Implement haphazard error collection for AttrValidator. 2007-06-27 02:03:15 +00:00
benchmarks Style refresh: add/remove vimlines, fix minor factual errors. 2009-04-09 12:47:10 -04:00
configdoc Implement HTML.Nofollow for external links. 2010-09-28 12:01:57 -04:00
docs XHTML 2 is dead. Long live XHTML 2. 2009-07-02 15:43:42 -04:00
extras Add vim modelines to all files. 2008-12-06 04:24:59 -05:00
library Allow non-static autoload methods w/ PHP >= 5.2.11 2010-10-28 17:25:17 +01:00
maintenance Fix undefined index warnings in maintenance scripts. 2010-05-31 20:07:27 -07:00
plugins Release Phorum module 4.0.0. 2009-07-09 21:12:35 -04:00
smoketests Improve handling of malformed object parameters. 2010-03-09 17:29:38 -05:00
tests Allow non-static autoload methods w/ PHP >= 5.2.11 2010-10-28 17:25:17 +01:00
.gitattributes Add Git specific files and configuration 2008-06-24 22:02:16 -04:00
.gitignore Tighten up ignore spec. 2010-06-30 06:00:45 -07:00
CREDITS Add vim modelines to all files. 2008-12-06 04:24:59 -05:00
Doxyfile Release 4.2.0. 2010-09-15 02:52:57 -04:00
FOCUS Release 4.2.0. 2010-09-15 02:52:57 -04:00
INSTALL Update documentation to new configuration format. 2009-05-29 23:46:40 -04:00
INSTALL.fr.utf8 Add vim modelines to all files. 2008-12-06 04:24:59 -05:00
LICENSE Add vim modelines to all files. 2008-12-06 04:24:59 -05:00
NEWS Allow non-static autoload methods w/ PHP >= 5.2.11 2010-10-28 17:25:17 +01:00
package.php Add doxygen doc scripts, and fix package.php 2009-07-08 22:11:15 -04:00
phpdoc.ini Add vim modelines to all files. 2008-12-06 04:24:59 -05:00
README Add vim modelines to all files. 2008-12-06 04:24:59 -05:00
release1-update.php Add vim modelines to all files. 2008-12-06 04:24:59 -05:00
release2-tag.php Add vim modelines to all files. 2008-12-06 04:24:59 -05:00
test-settings.sample.php Add vim modelines to all files. 2008-12-06 04:24:59 -05:00
TODO Shift to 4.2.0 release cycle. 2010-09-14 23:38:51 -04:00
VERSION Release 4.2.0. 2010-09-15 02:52:57 -04:00
WHATSNEW Release 4.2.0. 2010-09-15 02:52:57 -04:00
WYSIWYG Add vim modelines to all files. 2008-12-06 04:24:59 -05:00

README
    All about HTML Purifier

HTML Purifier is an HTML filtering solution that uses a unique combination
of robust whitelists and agressive parsing to ensure that not only are
XSS attacks thwarted, but the resulting HTML is standards compliant.

HTML Purifier is oriented towards richly formatted documents from
untrusted sources that require CSS and a full tag-set.  This library can
be configured to accept a more restrictive set of tags, but it won't be
as efficient as more bare-bones parsers. It will, however, do the job
right, which may be more important.

Places to go:

* See INSTALL for a quick installation guide
* See docs/ for developer-oriented documentation, code examples and
  an in-depth installation guide.
* See WYSIWYG for information on editors like TinyMCE and FCKeditor

HTML Purifier can be found on the web at: http://htmlpurifier.org/

    vim: et sw=4 sts=4