[BUGFIX] baseUrlWrap can handle url without scheme again 83/48583/3
authorWouter Wolters <typo3@wouterwolters.nl>
Wed, 15 Jun 2016 08:39:51 +0000 (10:39 +0200)
committerSusanne Moog <typo3@susannemoog.de>
Mon, 20 Jun 2016 07:06:43 +0000 (09:06 +0200)
commit173b99e6addd97d37fb64c028bd69c9ad27847be
treef8364094bd8d3aca6e227304c58a93c2c92900c0
parent0c22f21a853d89145478e3749bb709cc2136037a
[BUGFIX] baseUrlWrap can handle url without scheme again

Since #54091 the baseUrlWrap method can't handle urls
without a scheme anymore. Fix this by checking the scheme
exists or not.

Resolves: #76403
Releases: master,7.6
Change-Id: I2a28519ef1fbafd245ececaa4b6cbedc716c0fa5
Reviewed-on: https://review.typo3.org/48583
Reviewed-by: Joerg Boesche <typo3@joergboesche.de>
Tested-by: Joerg Boesche <typo3@joergboesche.de>
Reviewed-by: Susanne Moog <typo3@susannemoog.de>
Tested-by: Susanne Moog <typo3@susannemoog.de>
typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php
typo3/sysext/frontend/Tests/Unit/Controller/TypoScriptFrontendControllerTest.php