[BUGFIX] Remove additional slashes from typolink urls if prefixing
authorFelix Oertel <typo3@foertel.com>
Mon, 6 Feb 2012 11:46:36 +0000 (12:46 +0100)
committerChristian Kuhn <lolli@schwarzbu.ch>
Sat, 21 Jul 2012 20:14:07 +0000 (22:14 +0200)
commit5dfd3d34d534a6db83a9e1e542def5b4ddd3c94a
tree8f7b818f1be6b58325c80fabe559b5becef7b7c1
parenta679a0e50b0e775cd7111d174d805455bef78dc0
[BUGFIX] Remove additional slashes from typolink urls if prefixing

Typolink generates absolute uris with a leading slash. When prefixing
this with the base uri, we have to make sure, there is just one
slash in result. To prevent these situations we also trigger the
UriBuilder itself to generate an absolute path.

Thanks to Chetan Thapliyal.

Change-Id: Iae8755514fbdfc4eb27a5a6eab620e55144d912e
Fixes: #33788
Releases: 6.0, 4.7
Reviewed-on: http://review.typo3.org/8860
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
Reviewed-by: Daniel Lorenz
Tested-by: Daniel Lorenz
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
typo3/sysext/extbase/Classes/MVC/Controller/AbstractController.php
typo3/sysext/extbase/Tests/Unit/MVC/Controller/AbstractControllerTest.php