[TYPO3-core] RFC #15034: Bug: Can't log into the backend when using an IPv6 Address as HTTP_HOST
Gosign | Caspar Stuebs
caspar at gosign.de
Thu Jul 15 09:28:03 CEST 2010
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Dear Roland,
Am 15.07.2010 07:57, schrieb Roland Schenke:
> Please find 15034_v5.diff attached to the bugtracker thread and this mail.
just 2 more CGL things, after that this should be ready:
1. Identifiers: Abbreviations should be avoided
$httpHostPos should be named like $httpHostBracketPosition ...
2. Ternary conditional operator must be used only if it has two outcomes
Definition of $retVal in 'TYPO3_PORT' uses the ternary conditional
operator in wrong way (three outcomes).
Why not just use this one:
list (, $retVal) = explode(($httpHostPos !== FALSE ? ']:', ':'), $httpHost);
Viele Grüsse
Caspar Stuebs
Entwicklung
***Gosign im Jahrbuch der Werbung 2009***
NEW | We web pink: www.bebegeneration.de
We web green: www.greenpeace-hamburg.de
We web baguette: www.renault-safety.com
- --
Gosign media. GmbH | We web ideas.
Lokstedter Weg 36 | 20251 Hamburg
Tel. +49 (0) 40 / 31 70 15 00 | Fax +49 (0) 40 / 31 70 15 02
eMail caspar at gosign.de | Internet www.Gosign.de | Skype caspar.stuebs
Amtsgericht Hamburg HRB 112197 | Ust-IdNr. DE215891388
Geschäftsführung Bert Gogolin
Greenpeace energy: Gosign läuft mit ehrlichem Strom.
Diese Mail bitte nur ausdrucken, wenn es wirklich sein muss.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAkw+uIMACgkQBN8gVNLcSL632wCZAY/lDqVh4MNEsbhjvWO4W2kV
rPcAn0EcFQPaE1oi/3XTVHjdbt8a8MwI
=ZssW
-----END PGP SIGNATURE-----
More information about the TYPO3-team-core
mailing list