Issue Bug Closed

#30892t3lib_befunc::getViewDomain returns wrong or no domain

Thomas Pilgaard Carlsen 10/13/11, 16:07 updated 10/02/18, 12:19

Description

Issue 1:
If the TYPO3 BE hostname is not configured as a sys_domain record t3lib_befunc::getViewDomain will always return TYPO3 BE hostname and not the first domain of the root line of the page which is being previewed.

Issue 2:
If the TYPO3 BE hostname is configured as a sys_domain but the current root line does not contain a valid domain record t3lib_befunc::getViewDomain will return only ‘http://’ ie. no domain. I would think the logical thing would be to return the TYPO3 BE hostname.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.