[BUGFIX] Double protocol when using TCEMAIN.previewDomain 22/41122/2
authorWouter Wolters <typo3@wouterwolters.nl>
Sat, 11 Jul 2015 09:58:48 +0000 (11:58 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Mon, 13 Jul 2015 10:33:11 +0000 (12:33 +0200)
commitb438ca6d10f6721820ba24d4d7c30f2bb62b8f75
tree2c66b8796e4cc625e3df8afdf2f04faffb54fc0c
parent45d6ac389e1df9c906bcb210783fa49682b66075
[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/41122
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/viewpage/Classes/Controller/ViewModuleController.php