[TYPO3-core] RFC #15034: Bug: Can't log into the backend when using an IPv6 Address as HTTP_HOST

Steffen Kamper info at sk-typo3.de
Thu Jul 15 10:46:04 CEST 2010


Hi Roland,

+1 by reading and testing with 2 remarks:

1) please use self::getIndpEnv('HTTP_HOST')
2) the list(, $retVal)... throws a warning if no colon is present, so 
please check

$retVal = '';
if (strpos($httpHost, ':') !== FALSE) {
	list (, $retVal) = explode(($httpHostBracketPosition !== FALSE ? ']:' : 
':'), $httpHost);
}

vg Steffen


More information about the TYPO3-team-core mailing list