[BUGFIX] Properly HTML encode URI in renderer 00/35600/2
authorHelmut Hummel <helmut.hummel@typo3.org>
Sat, 20 Dec 2014 14:00:49 +0000 (15:00 +0100)
committerWouter Wolters <typo3@wouterwolters.nl>
Sat, 20 Dec 2014 14:56:02 +0000 (15:56 +0100)
commita0444f65714db315dbf40fde04040ed86987fce2
tree74b57a22355159632dab95bfa6731483fcd892bf
parentf528b3f8196bd73f102c04c0a8110c69b3e69564
[BUGFIX] Properly HTML encode URI in renderer

The audio and video tag renderer fails to properly
encode the URI of the files for HTML.

Fix this and adapt the tests.

Resolves: #64000
Releases: master
Change-Id: Iac6d06ce9cabac31545e8cb5f542f3d096990ebe
Reviewed-on: http://review.typo3.org/35600
Reviewed-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Tested-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Reviewed-by: Roman Schürmann <roman.schuermann@wmdb.de>
Tested-by: Roman Schürmann <roman.schuermann@wmdb.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
typo3/sysext/core/Classes/Resource/Rendering/AudioTagRenderer.php
typo3/sysext/core/Classes/Resource/Rendering/VideoTagRenderer.php
typo3/sysext/core/Tests/Unit/Resource/Rendering/AudioTagRendererTest.php
typo3/sysext/core/Tests/Unit/Resource/Rendering/VideoTagRendererTest.php