From 942e55373854943f9e1ccea8adcf5cda1e0e0471 Mon Sep 17 00:00:00 2001 From: Seamus Lee Date: Sat, 16 Mar 2019 10:28:16 +1100 Subject: [PATCH] Upgrade htmlpurifier to 4.10 to support PHP7.2 and install via composer --- composer.json | 3 ++- composer.lock | 49 ++++++++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 50 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index 1263a80013..b3798a1bdb 100644 --- a/composer.json +++ b/composer.json @@ -60,7 +60,8 @@ "guzzlehttp/guzzle": "^6.3", "psr/simple-cache": "~1.0.1", "cweagans/composer-patches": "~1.0", - "pear/log": "1.13.1" + "pear/log": "1.13.1", + "ezyang/htmlpurifier": "4.10" }, "repositories": [ { diff --git a/composer.lock b/composer.lock index d31892498d..15c13094c4 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "17e71aacd764675ceb9e0cfc31eb2725", + "content-hash": "bf8e79e6741fa30ccbc5bd59416f9f16", "packages": [ { "name": "civicrm/civicrm-cxn-rpc", @@ -226,6 +226,53 @@ "homepage": "http://code.google.com/p/phpquery/", "time": "2013-03-21T12:39:33+00:00" }, + { + "name": "ezyang/htmlpurifier", + "version": "v4.10.0", + "source": { + "type": "git", + "url": "https://github.com/ezyang/htmlpurifier.git", + "reference": "d85d39da4576a6934b72480be6978fb10c860021" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/ezyang/htmlpurifier/zipball/d85d39da4576a6934b72480be6978fb10c860021", + "reference": "d85d39da4576a6934b72480be6978fb10c860021", + "shasum": "" + }, + "require": { + "php": ">=5.2" + }, + "require-dev": { + "simpletest/simpletest": "^1.1" + }, + "type": "library", + "autoload": { + "psr-0": { + "HTMLPurifier": "library/" + }, + "files": [ + "library/HTMLPurifier.composer.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "LGPL" + ], + "authors": [ + { + "name": "Edward Z. Yang", + "email": "admin@htmlpurifier.org", + "homepage": "http://ezyang.com" + } + ], + "description": "Standards compliant HTML filter written in PHP", + "homepage": "http://htmlpurifier.org/", + "keywords": [ + "html" + ], + "time": "2018-02-23T01:58:20+00:00" + }, { "name": "guzzlehttp/guzzle", "version": "6.3.0", -- 2.25.1