[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
Thu Jul 15 10:25:10 CEST 2010
Am 15.07.2010 um 09:28 schrieb Gosign | Caspar Stuebs:
> just 2 more CGL things, after that this should be ready:
>
> 1. Identifiers: Abbreviations should be avoided
> $httpHostPos should be named like $httpHostBracketPosition ...
speaking of abbreviations ... retVal? ;-) No Offense.
> 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).
Thanks. I need to master CGL pretty soon.
> Why not just use this one:
> list (, $retVal) = explode(($httpHostPos !== FALSE ? ']:', ':'), $httpHost);
deeply impressed
15034_v6.diff attached
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 15034_v6.diff
Type: application/octet-stream
Size: 1036 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100715/7d17d935/attachment.obj>
-------------- next part --------------
--
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