[BUGFIX] Double protocol when using TCEMAIN.previewDomain 95/41095/3
authorWouter Wolters <typo3@wouterwolters.nl>
Sat, 11 Jul 2015 09:58:48 +0000 (11:58 +0200)
committerWouter Wolters <typo3@wouterwolters.nl>
Mon, 13 Jul 2015 10:06:24 +0000 (12:06 +0200)
commitccf7dae56adaae36f4c0a103f1c7b3c17af8494a
tree1ab96fa285667137717bdac452d35a7371becc81
parent30e524b9b1db2868b2c9eabacf30e30bc10f31de
[BUGFIX] Double protocol when using TCEMAIN.previewDomain

In EXT:viewpage the option TCEMAIN.previewDomain is used but
not evaluated correctly. The option can contain the protocol
already and this is not respected in EXT:viewpage.

Check if domain already contains a protocol.

Resolves: #34820
Resolves: #36542
Resolves: #23115
Releases: master, 6.2
Change-Id: I13f7cda1dca54d60d350ba460e43ec924c140d35
Reviewed-on: http://review.typo3.org/41095
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
typo3/sysext/viewpage/Classes/Controller/ViewModuleController.php