[BUGFIX] YouTubeRenderer: urlencode the origin parameter 13/50713/2
authorBenjamin Franzke <bfr@qbus.de>
Thu, 17 Nov 2016 05:54:21 +0000 (06:54 +0100)
committerChristian Kuhn <lolli@schwarzbu.ch>
Fri, 18 Nov 2016 21:29:20 +0000 (22:29 +0100)
commita2f2a4b1244633bc4031e2f0120c66b8a7769fed
treed75c24204be9abde72fe82fc64d0c35bf433f779
parentde9fd096f4662cafbc229c4a4b841c863391604d
[BUGFIX] YouTubeRenderer: urlencode the origin parameter

Commit 84ab413 (https://review.typo3.org/49416) fixed the origin
parameter to include the full host (and thus the scheme).
The full host url was not urlencoded. As the scheme contains
slashes this has to be encoded as well.

Change-Id: Ifb73dfc11ef723049729e0475eb6ac234db6a3eb
Releases: master, 7.6
Resolves: #78728
Reviewed-on: https://review.typo3.org/50713
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/core/Classes/Resource/Rendering/YouTubeRenderer.php
typo3/sysext/core/Tests/Unit/Resource/Rendering/YouTubeRendererTest.php