[BUGFIX] baseUrlWrap can handle url without scheme again 06/48606/2
authorWouter Wolters <typo3@wouterwolters.nl>
Wed, 15 Jun 2016 08:39:51 +0000 (10:39 +0200)
committerFrank Naegler <frank.naegler@typo3.org>
Mon, 20 Jun 2016 07:51:58 +0000 (09:51 +0200)
commitb46c7eb0c19e23b46d4fbc9611836375c93000d2
tree0f550ac258116509dfe07c0e1cebd30d77ad4789
parentb1043ab397701fdc7d7ba20ecb7a923c666b2083
[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/48606
Reviewed-by: Susanne Moog <typo3@susannemoog.de>
Tested-by: Susanne Moog <typo3@susannemoog.de>
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php
typo3/sysext/frontend/Tests/Unit/Controller/TypoScriptFrontendControllerTest.php