#34820t3lib_befunc::getViewDomain does not respect http/https scheme
Description
After yesterdays update bug http://forge.typo3.org/issues/30892 was fixed. But that introduced a problem for us:
We have a https BE, which uses a non public domain on a custom port, which serves a multidomain setup. After introduction of this bugfix page previews are rendered using the correct domain name for this particular page. BUT: the call is using the https scheme used in the backend and not http. There is no valid certificate for the public domains, only for the non public be domain, so this results in an error for the user with untrusted certificate.