From f4c6e10ff7d091e97cda0fcb0c50cdcdb361aee3 Mon Sep 17 00:00:00 2001 From: "Edward Z. Yang" Date: Mon, 26 Apr 2010 18:31:40 -0400 Subject: [PATCH] Release 4.1.0. Signed-off-by: Edward Z. Yang --- Doxyfile | 2 +- FOCUS | 2 +- NEWS | 2 +- TODO | 2 +- VERSION | 2 +- WHATSNEW | 13 ++++++------- library/HTMLPurifier.includes.php | 2 +- library/HTMLPurifier.php | 6 +++--- library/HTMLPurifier/Config.php | 2 +- 9 files changed, 16 insertions(+), 17 deletions(-) rewrite WHATSNEW (100%) diff --git a/Doxyfile b/Doxyfile index 34c36c14..9b3b1b4f 100644 --- a/Doxyfile +++ b/Doxyfile @@ -31,7 +31,7 @@ PROJECT_NAME = HTMLPurifier # This could be handy for archiving the generated documentation or # if some version control system is used. -PROJECT_NUMBER = 4.0.0 +PROJECT_NUMBER = 4.1.0 # The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) # base path where the generated documentation will be put. diff --git a/FOCUS b/FOCUS index f288597a..e13b9aa0 100644 --- a/FOCUS +++ b/FOCUS @@ -1,4 +1,4 @@ -5 - Major feature enhancements +9 - Major security fixes [ Appendix A: Release focus IDs ] 0 - N/A diff --git a/NEWS b/NEWS index 23b41c33..0e8eda6f 100644 --- a/NEWS +++ b/NEWS @@ -9,7 +9,7 @@ NEWS ( CHANGELOG and HISTORY ) HTMLPurifier . Internal change ========================== -4.1.0, unknown release date +4.1.0, released 2010-04-26 ! Support proprietary height attribute on table element ! Support YouTube slideshows that contain /cp/ in their URL. ! Support for data: URI scheme; not enabled by default, add it using diff --git a/TODO b/TODO index 937cf856..1bb2ed2d 100644 --- a/TODO +++ b/TODO @@ -24,7 +24,7 @@ Things to do as soon as possible: FUTURE VERSIONS --------------- -4.1 release [OMG CONFIG PONIES] +4.2 release [OMG CONFIG PONIES] ! Fix Printer. It's from the old days when we didn't have decent XML classes ! Factor demo.php into a set of Printer classes, and then create a stub file for users here (inside the actual HTML Purifier library) diff --git a/VERSION b/VERSION index 0c89fc92..99eba4de 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -4.0.0 \ No newline at end of file +4.1.0 \ No newline at end of file diff --git a/WHATSNEW b/WHATSNEW dissimilarity index 100% index 3fd6c8ef..1ed16834 100644 --- a/WHATSNEW +++ b/WHATSNEW @@ -1,7 +1,6 @@ -HTML Purifier 4.0 is a major feature release focused on configuration -It deprecates the $config->set('Ns', 'Directive', $value) syntax for -$config->set('Ns.Directive', $value); both syntaxes work but the -former will throw errors. There are also some new features: robust -support for name/id, configuration inheritance, remove nbsp in -the RemoveEmpty autoformatter, userland configuration directives -and configuration serialization. +HTML Purifier 4.1 is a major security release that fixes an XSS +vulnerability exploitable on Internet Explorer. It also contains +a number of new features, including dramatically more flexible Flash +support, including %Output.FlashCompat to replace %HTML.SafeEmbed, +optional support for the data: URI scheme and better HTML parsing +capabilities. diff --git a/library/HTMLPurifier.includes.php b/library/HTMLPurifier.includes.php index 292637ea..81fa4de1 100644 --- a/library/HTMLPurifier.includes.php +++ b/library/HTMLPurifier.includes.php @@ -7,7 +7,7 @@ * primary concern and you are using an opcode cache. PLEASE DO NOT EDIT THIS * FILE, changes will be overwritten the next time the script is run. * - * @version 4.0.0 + * @version 4.1.0 * * @warning * You must *not* include any other HTML Purifier files before this file, diff --git a/library/HTMLPurifier.php b/library/HTMLPurifier.php index e3fce9c2..fff46788 100644 --- a/library/HTMLPurifier.php +++ b/library/HTMLPurifier.php @@ -19,7 +19,7 @@ */ /* - HTML Purifier 4.0.0 - Standards Compliant HTML Filtering + HTML Purifier 4.1.0 - Standards Compliant HTML Filtering Copyright (C) 2006-2008 Edward Z. Yang This library is free software; you can redistribute it and/or @@ -55,10 +55,10 @@ class HTMLPurifier { /** Version of HTML Purifier */ - public $version = '4.0.0'; + public $version = '4.1.0'; /** Constant with version of HTML Purifier */ - const VERSION = '4.0.0'; + const VERSION = '4.1.0'; /** Global configuration object */ public $config; diff --git a/library/HTMLPurifier/Config.php b/library/HTMLPurifier/Config.php index a0170604..203831f9 100644 --- a/library/HTMLPurifier/Config.php +++ b/library/HTMLPurifier/Config.php @@ -20,7 +20,7 @@ class HTMLPurifier_Config /** * HTML Purifier's version */ - public $version = '4.0.0'; + public $version = '4.1.0'; /** * Bool indicator whether or not to automatically finalize -- 2.11.4.GIT