[TYPO3-core] RFC #15034: Bug: Can't log into the backend when using an IPv6 Address as HTTP_HOST
Bernhard Kraft
kraftb at think-open.at
Thu Jul 15 10:28:44 CEST 2010
Am 2010-07-14 17:35, schrieb Roland Schenke:
> The error lies in t3lib_div::getIndpEnv().
Not wanting to rant: I suggest using "preg_match" for checking if it is
an IPv6 address and which part is the hostname and the port. Anyways: If
you request TYPO3_HOST_ONLY, shouldn't it only return ::1 for localhost
- as far as I read your patch it would return [::1] ... I guess the
brackets are just used in URLs - the hostname itself would be ::1 ?!?!
Or am I misleaded here?
greets,
Bernhard
More information about the TYPO3-team-core
mailing list