69817[TASK] Introduce SVG Sanitizer
Commit message
Review
-
Code review CR +2 Done
- Oliver Hader +2
-
Verified V +2 Done
- Oliver Hader +2
- core-ci +1 CI
Issues 1
Files 53
- typo3/sysext/core/Classes/Resource/Security/SvgEventListener.phpnew+72 −0
- typo3/sysext/core/Classes/Resource/Security/SvgHookHandler.phpnew+48 −0
- typo3/sysext/core/Classes/Resource/Security/SvgSanitizer.phpnew+56 −0
- typo3/sysext/core/Classes/Resource/Security/SvgTypeCheck.phpnew+76 −0
- typo3/sysext/core/Configuration/Services.yaml+21 −0
- typo3/sysext/core/Documentation/Changelog/9.5.x/Important-94492-IntroduceSVGSanitizer.rstnew+39 −0
- typo3/sysext/core/Tests/Functional/Resource/Fixtures/CleanSVG/ariaData.svgnew+57 −0
- typo3/sysext/core/Tests/Functional/Resource/Fixtures/CleanSVG/billion_laughs.svgnew+0 −0
- typo3/sysext/core/Tests/Functional/Resource/Fixtures/CleanSVG/entity.svgnew+4 −0
- typo3/sysext/core/Tests/Functional/Resource/Fixtures/CleanSVG/entity_2.svgnew+4 −0
- typo3/sysext/core/Tests/Functional/Resource/Fixtures/CleanSVG/external.svgnew+10 −0
- typo3/sysext/core/Tests/Functional/Resource/Fixtures/CleanSVG/hrefOne.svgnew+13 −0
- typo3/sysext/core/Tests/Functional/Resource/Fixtures/CleanSVG/hrefTwo.svgnew+13 −0
- typo3/sysext/core/Tests/Functional/Resource/Fixtures/CleanSVG/html.svgnew+4 −0
- typo3/sysext/core/Tests/Functional/Resource/Fixtures/CleanSVG/simple.svgnew+4 −0
- typo3/sysext/core/Tests/Functional/Resource/Fixtures/CleanSVG/svgOne.svgnew+13 −0
- typo3/sysext/core/Tests/Functional/Resource/Fixtures/CleanSVG/TYPO3_Logo_Clean.svgnew+7 −0
- typo3/sysext/core/Tests/Functional/Resource/Fixtures/CleanSVG/TYPO3_Logo_Data.svgnew+8 −0
- typo3/sysext/core/Tests/Functional/Resource/Fixtures/CleanSVG/TYPO3_Logo_Script.svgnew+7 −0
- typo3/sysext/core/Tests/Functional/Resource/Fixtures/CleanSVG/use.svgnew+6 −0
Show 33 more files
- typo3/sysext/core/Tests/Functional/Resource/Fixtures/CleanSVG/useDos.svgnew+113 −0
- typo3/sysext/core/Tests/Functional/Resource/Fixtures/CleanSVG/xlinkLaughs.svgnew+71 −0
- typo3/sysext/core/Tests/Functional/Resource/Fixtures/CleanSVG/xlinkLoop.svgnew+24 −0
- typo3/sysext/core/Tests/Functional/Resource/Fixtures/CleanSVG/xlink_laughs.svgnew+146 −0
- typo3/sysext/core/Tests/Functional/Resource/Fixtures/CleanSVG/xmlOne.xmlnew+11 −0
- typo3/sysext/core/Tests/Functional/Resource/Fixtures/CleanSVG/xss.svgnew+4 −0
- typo3/sysext/core/Tests/Functional/Resource/Fixtures/DirtySVG/ariaData.svgnew+56 −0
- typo3/sysext/core/Tests/Functional/Resource/Fixtures/DirtySVG/billion_laughs.svgnew+16 −0
- typo3/sysext/core/Tests/Functional/Resource/Fixtures/DirtySVG/entity.svgnew+5 −0
- typo3/sysext/core/Tests/Functional/Resource/Fixtures/DirtySVG/entity_2.svgnew+8 −0
- typo3/sysext/core/Tests/Functional/Resource/Fixtures/DirtySVG/external.svgnew+11 −0
- typo3/sysext/core/Tests/Functional/Resource/Fixtures/DirtySVG/hrefOne.svgnew+13 −0
- typo3/sysext/core/Tests/Functional/Resource/Fixtures/DirtySVG/hrefTwo.svgnew+13 −0
- typo3/sysext/core/Tests/Functional/Resource/Fixtures/DirtySVG/html.svgnew+14 −0
- typo3/sysext/core/Tests/Functional/Resource/Fixtures/DirtySVG/simple.svgnew+5 −0
- typo3/sysext/core/Tests/Functional/Resource/Fixtures/DirtySVG/svgOne.svgnew+15 −0
- typo3/sysext/core/Tests/Functional/Resource/Fixtures/DirtySVG/TYPO3_Logo_Clean.svgnew+7 −0
- typo3/sysext/core/Tests/Functional/Resource/Fixtures/DirtySVG/TYPO3_Logo_Data.svgnew+8 −0
- typo3/sysext/core/Tests/Functional/Resource/Fixtures/DirtySVG/TYPO3_Logo_Script.svgnew+13 −0
- typo3/sysext/core/Tests/Functional/Resource/Fixtures/DirtySVG/use.svgnew+5 −0
- typo3/sysext/core/Tests/Functional/Resource/Fixtures/DirtySVG/useDos.svgnew+129 −0
- typo3/sysext/core/Tests/Functional/Resource/Fixtures/DirtySVG/xlinkLaughs.svgnew+146 −0
- typo3/sysext/core/Tests/Functional/Resource/Fixtures/DirtySVG/xlinkLoop.svgnew+31 −0
- typo3/sysext/core/Tests/Functional/Resource/Fixtures/DirtySVG/xlink_laughs.svgnew+146 −0
- typo3/sysext/core/Tests/Functional/Resource/Fixtures/DirtySVG/xmlOne.xmlnew+12 −0
- typo3/sysext/core/Tests/Functional/Resource/Fixtures/DirtySVG/xss.svgnew+8 −0
- typo3/sysext/core/Tests/Functional/Resource/Security/SvgSanitizerTest.phpnew+60 −0
- typo3/sysext/core/composer.json+1 −0
- typo3/sysext/core/ext_localconf.php+1 −0
- typo3/sysext/install/Classes/Updates/SvgFilesSanitization.phpnew+200 −0
- typo3/sysext/install/ext_localconf.php+2 −0
- composer.json+1 −0
- composer.lock+47 −2
Review log 46
-
Oliver Hader uploaded patch set 1 07/12/21, 18:40
-
core-ci voted on patch set 1 V +1 07/12/21, 18:49 Core CI is happy: https://gitlab.typo3.org/TYPO3/CI/cms/-/pipelines/13253
-
Oliver Hader uploaded patch set 2 07/12/21, 19:56
-
core-ci voted on patch set 2 V +1 07/12/21, 20:09 Core CI is happy: https://gitlab.typo3.org/TYPO3/CI/cms/-/pipelines/13258
-
Oliver Hader voted on patch set 2 V +2 CR +2 07/13/21, 11:27
-
Oliver Hader merged patch set 3 07/13/21, 11:27