Commit 95b571c5 authored by Oliver Hader's avatar Oliver Hader Committed by Oliver Hader
Browse files

[TASK] Update enshrined/svg-sanitize to v0.14.1

Addresses work-around of issues #94565 and #94582
concerning libxml2 segmentation faults.

https://github.com/darylldoyle/svg-sanitizer/compare/0.14.0...0.14.1

Resolves: #94768
Releases: master, 11.3, 10.4, 9.5
Change-Id: I10f6386f0986f514a1387fb1153bbfc36f9c9dcc
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/70336


Tested-by: core-ci's avatarcore-ci <typo3@b13.com>
Tested-by: Oliver Hader's avatarOliver Hader <oliver.hader@typo3.org>
Reviewed-by: Oliver Hader's avatarOliver Hader <oliver.hader@typo3.org>
parent 4d4c37b3
......@@ -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": "10607125e7461f4637bdf376cb52ba5b",
"content-hash": "7653b6a3adae7112a553fc41e02d6fe5",
"packages": [
{
"name": "cogpowered/finediff",
......@@ -512,25 +512,26 @@
},
{
"name": "enshrined/svg-sanitize",
"version": "0.14.0",
"version": "0.14.1",
"source": {
"type": "git",
"url": "https://github.com/darylldoyle/svg-sanitizer.git",
"reference": "beff89576a72540ee99476aeb9cfe98222e76fb8"
"reference": "307b42066fb0b76b5119f5e1f0826e18fefabe95"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/darylldoyle/svg-sanitizer/zipball/beff89576a72540ee99476aeb9cfe98222e76fb8",
"reference": "beff89576a72540ee99476aeb9cfe98222e76fb8",
"url": "https://api.github.com/repos/darylldoyle/svg-sanitizer/zipball/307b42066fb0b76b5119f5e1f0826e18fefabe95",
"reference": "307b42066fb0b76b5119f5e1f0826e18fefabe95",
"shasum": ""
},
"require": {
"ext-dom": "*",
"ext-libxml": "*"
"ext-libxml": "*",
"php": "^7.0 || ^8.0"
},
"require-dev": {
"codeclimate/php-test-reporter": "^0.1.2",
"phpunit/phpunit": "^6"
"phpunit/phpunit": "^6.5 || ^8.5"
},
"type": "library",
"autoload": {
......@@ -551,9 +552,9 @@
"description": "An SVG sanitizer for PHP",
"support": {
"issues": "https://github.com/darylldoyle/svg-sanitizer/issues",
"source": "https://github.com/darylldoyle/svg-sanitizer/tree/0.14.0"
"source": "https://github.com/darylldoyle/svg-sanitizer/tree/0.14.1"
},
"time": "2021-01-21T10:13:20+00:00"
"time": "2021-08-09T23:46:54+00:00"
},
{
"name": "guzzlehttp/guzzle",
......
......@@ -50,10 +50,6 @@ class SvgSanitizerTest extends FunctionalTestCase
*/
public function svgContentIsSanitized($filePath, $sanitizedFilePath)
{
// @todo re-enable test once https://github.com/darylldoyle/svg-sanitizer/pull/53 is merged
if ($filePath === 'DirtySVG/entity.svg' || $filePath === 'DirtySVG/entity_2.svg') {
self::markTestSkipped('Skipped due experienced segmentation faults');
}
$basePath = dirname(__FILE__, 2) . '/Fixtures/';
$sanitizer = new SvgSanitizer();
self::assertStringEqualsFile(
......
......@@ -24,7 +24,7 @@
"doctrine/dbal": "~2.10.0 || ~2.11.2",
"doctrine/instantiator": "^1.1",
"doctrine/lexer": "^1.0",
"enshrined/svg-sanitize": "^0.14.0",
"enshrined/svg-sanitize": "^0.14.1",
"guzzlehttp/guzzle": "^6.3.0",
"guzzlehttp/psr7": "^1.4.0",
"nikic/php-parser": "^4.3.0",
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment