[Typo3-dev] IPv6 integration for Typo3
Sven Wilhelm
wilhelm at icecrash.com
Mon Sep 20 12:04:51 CEST 2004
Hi,
> BTW, simply validating is not enough for "IPv6-support". We need a way
> to compare IPv6 addresses, so I think we need a function that
> "normalizes" an IPv6 addresses. As a side effect it does a validation:
> if it cannot be normalized, it's invalid.
ok, we can merge that to parts together.
I thought about that writing a method that validates, if it doesn't
validate, for v6 there isn't anything to do more. Thuch a method could
work in the head for t3lib_div::cmpIP() for switching the two protocol
versions, the next part could be to normalize the address.
Possibly to ways for the problem, but I think a simple "is a valid IPv6"
could be reached fastest with a regular expression.
> If we can do this than t3lib_div::cmpIP() can be enhanced to support
> IPv6 addresses.
That is part of my motivation (all the bugs concerning ipv6).
Greetings Sven
More information about the TYPO3-dev
mailing list