Project

General

Profile

Feature #2972

Upgrade the HTMLPurifier from 4.1.0 to its latest version 4.2.0

Added by Ivan Tcholakov about 8 years ago. Updated about 8 years ago.

Status:
Feature implemented
Priority:
Normal
Category:
-
Target version:
Start date:
28/02/2011
Due date:
% Done:

100%

Estimated time:
Complexity:
Normal
SCRUM pts - complexity:
?

Description

These the new things:

4.2.0, released 2010-09-15
! Added %Core.RemoveProcessingInstructions, which lets you remove
  <? ... ?> statements.
! Added %URI.DisableResources functionality; the directive originally
  did nothing.  Thanks David Rothstein for reporting.
! Add documentation about configuration directive types.
! Add %CSS.ForbiddenProperties configuration directive.
! Add %HTML.FlashAllowFullScreen to permit embedded Flash objects
  to utilize full-screen mode.
! Add optional support for the file URI scheme, enable
by explicitly setting %URI.AllowedSchemes.
! Add %Core.NormalizeNewlines options to allow turning off newline
normalization.
- Fix improper handling of Internet Explorer conditional comments
by parser. Thanks zmonteca for reporting.
- Fix missing attributes bug when running on Mac Snow Leopard and APC.
Thanks sidepodcast for the fix.
- Warn if an element is allowed, but an attribute it requires is
not allowed.

4.1.1, released 2010-05-31
- Fix undefined index warnings in maintenance scripts.
- Fix bug in DirectLex for parsing elements with a single attribute
with entities.
- Rewrite CSS output logic for font-family and url(). Thanks Mario
Heiderich <> for reporting and Takeshi
Terada <> for suggesting the fix.
- Emit an error for CollectErrors if a body is extracted
- Fix bug where in background-position for center keyword handling.
- Fix infinite loop when a wrapper element is inserted in a context
where it's not allowed. Thanks Lars <> for reporting.
- Remove +x bit and shebang from index.php; only supported mode is to
explicitly call it with php.
- Make test script less chatty when log_errors is on.

History

#1

Updated by Ivan Tcholakov about 8 years ago

14048:2d56ccccba2c Task #1297 - HTMLPurifier.php: Enabling the setting "HTML.SafeObject" for course managers too.
http://code.google.com/p/chamilo/source/detail?r=b101e27ae5128bf6b4b1520b8619726d2d09178f&repo=classic

#2

Updated by Ivan Tcholakov about 8 years ago

14049:b101e27ae512 Task #2972 - Upgrading the HTMLPurifier library from 4.1.0 to its latest version 4.2.0.
http://code.google.com/p/chamilo/source/detail?r=b101e27ae5128bf6b4b1520b8619726d2d09178f&repo=classic

14050:8f00025bffe5 Task #2972 - Cleaning whitespace in the file security.lib.php.
http://code.google.com/p/chamilo/source/detail?r=8f00025bffe5ea936b665679aaf183faef9a1c69&repo=classic

#3

Updated by Ivan Tcholakov about 8 years ago

14051:3a1b7adcc653 Task #2972 - Restoring the original file HTMLPurifier.php, moving our customizations in the file security.lib.php.
http://code.google.com/p/chamilo/source/detail?r=3a1b7adcc653dd127b1b5d65e4ea70060179fc30&repo=classic

#4

Updated by Ivan Tcholakov about 8 years ago

14053:631a1d208a41 Tasks #1297 and #2972 - Adding some options for HTMLPurifier.
http://code.google.com/p/chamilo/source/detail?r=631a1d208a41f6a05c8e42461629463990ef31d8&repo=classic

#5

Updated by Ivan Tcholakov about 8 years ago

14069:7ddb12dd28d6 Task #2972 - Inserting some fixes from the current development code of HTMLPurifier.
http://code.google.com/p/chamilo/source/detail?r=7ddb12dd28d63afbf313bf796791f907ff896c58&repo=classic

#6

Updated by Ivan Tcholakov about 8 years ago

  • Status changed from Assigned to Feature implemented
  • % Done changed from 0 to 100

Also available in: Atom PDF