Project

General

Profile

Actions

Bug #17221

closed

Matching IPv6-addresses is not working correctly

Added by Rechenzentrum TU over 17 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2007-04-19
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.0
PHP Version:
4.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Matching IPv6-addresses isn't currently working.

1st:
cmpIPv6($baseIP, $list)
fails for an entry in $list that repesents a subnet like 2001:638:605::/48
Therefore it fails before starting the compare-process.

2nd:
Testing netmask, i.e. comparing starting X bits, fails in interaction with function IPv6Hex2Bin().

Please check out http://t3dev.rz.tu-clausthal.de/ipv6test.php for demonstration of this issue!

This issue affects TYPO3-Core 4.0.6!
(https://svn.sourceforge.net/svnroot/typo3/TYPO3core/tags/TYPO3_4-0-6)

Affected class:
t3lib_div

Affected functions:
cmpIPv6()
IPv6Hex2Bin()
(issue imported from #M5459)


Files

patch_on_t3lib_div.diff (1.24 KB) patch_on_t3lib_div.diff Administrator Admin, 2007-04-19 13:44

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #27210: t3lib_div::cmpIPv6() fails to compareClosedStefan Neufeind2011-06-04

Actions
Actions

Also available in: Atom PDF