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

Roland Schenke rs at kruselenz.com
Fri Jul 16 07:53:43 CEST 2010


Hi Steffen,

with a new day comes a new chance.

> 1) please use self::getIndpEnv('HTTP_HOST')

fixed

> 2) the list(, $retVal)... throws a warning if no colon is present, so please check

How about that?

case 'TYPO3_PORT':
	$httpHost = self::getIndpEnv('HTTP_HOST');
	$httpHostOnly = self::getIndpEnv('TYPO3_HOST_ONLY');
	$retVal = (strlen($httpHost) > strlen($httpHostOnly) ? substr($httpHost, strlen($httpHostOnly) + 1) : '');

Files attached.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 15034_v7.diff
Type: application/octet-stream
Size: 1045 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100716/f6ea1acd/attachment.obj>
-------------- next part --------------
 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 15034v6_UnitTest.diff
Type: application/octet-stream
Size: 1979 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100716/f6ea1acd/attachment-0001.obj>
-------------- next part --------------


Have a great day!

--
Mit freundlichen Gr??en / Best regards

Roland Schenke
Forschung und Entwicklung

K & L Internet Service
Kruse & Lenz GbR - Vrestorfer Weg 5 - 21339 L?neburg

Fon    : 0176 / 46534665
E-Mail : info at kruselenz.com
Web    : www.kruselenz.com

*** Internetauftritte * CMS * Webshops * Hosting * Grafik *** 





More information about the TYPO3-team-core mailing list