Project

General

Profile

Actions

Bug #30892

closed

t3lib_befunc::getViewDomain returns wrong or no domain

Added by Thomas Pilgaard Carlsen over 12 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2011-10-13
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
4.5
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

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.


Files

class.t3lib_befunc.diff (1.03 KB) class.t3lib_befunc.diff Jaume Prat, 2011-10-18 16:27
t3lib_befunc.diff (1.01 KB) t3lib_befunc.diff Diff-patch Jaume Prat, 2011-11-21 22:54

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #34820: t3lib_befunc::getViewDomain does not respect http/https schemeClosed2012-03-14

Actions
Actions

Also available in: Atom PDF