Bug #27210

t3lib_div::cmpIPv6() fails to compare

Added by Stefan Neufeind over 10 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Should have
Category:
Miscellaneous
Target version:
-
Start date:
2011-06-04
Due date:
% Done:

100%

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

Description

Error is that IPv6Hex2Bin returns a binary representation (16 characters for the 128 bits) instead of a string with 128 bits (0/1) as the current source assumes when using strcmp.

Also currently only netmasks of /48, /64 and /128 are supported, which can also be reworked in this context.


Related issues

Related to TYPO3 Core - Feature #25336: Add support for IPv6Closed2011-03-16

Actions
Related to TYPO3 Core - Bug #17221: Matching IPv6-addresses is not working correctlyClosed2007-04-19

Actions
Related to TYPO3 Core - Bug #27294: IPv6 Support for $TYPO3_CONF_VARS['FE']['IPmaskMountGroups'] broken Closed2011-06-08

Actions
#1

Updated by Mr. Hudson over 10 years ago

Patch set 1 of change I816db2b9ce42d13f61ecd7f87406730c424de52f has been pushed to the review server.
It is available at http://review.typo3.org/2519

#2

Updated by Mr. Hudson over 10 years ago

Patch set 2 of change I816db2b9ce42d13f61ecd7f87406730c424de52f has been pushed to the review server.
It is available at http://review.typo3.org/2519

#3

Updated by Mr. Hudson over 10 years ago

Patch set 3 of change I816db2b9ce42d13f61ecd7f87406730c424de52f has been pushed to the review server.
It is available at http://review.typo3.org/2519

#4

Updated by Mr. Hudson over 10 years ago

Patch set 4 of change I816db2b9ce42d13f61ecd7f87406730c424de52f has been pushed to the review server.
It is available at http://review.typo3.org/2519

#5

Updated by Mr. Hudson over 10 years ago

Patch set 5 of change I816db2b9ce42d13f61ecd7f87406730c424de52f has been pushed to the review server.
It is available at http://review.typo3.org/2519

#6

Updated by Mr. Hudson over 10 years ago

Patch set 6 of change I816db2b9ce42d13f61ecd7f87406730c424de52f has been pushed to the review server.
It is available at http://review.typo3.org/2519

#7

Updated by Mr. Hudson over 10 years ago

Patch set 1 of change Ida5ac146942c5f7d407f233206ccad6e3c9c6c58 has been pushed to the review server.
It is available at http://review.typo3.org/3268

#8

Updated by Xavier Perseguers over 10 years ago

  • Status changed from New to Resolved
  • Target version set to 1281
  • % Done changed from 0 to 100

master: Change has been successfully cherry-picked as adcf60846a994d5fe1b47f78dda0720ca272dfbc.
TYPO3_4-5: Change has been successfully cherry-picked as 069fc9285cae9dc2fb93e5f989ea9ac89b277c7d.

#9

Updated by Xavier Perseguers over 9 years ago

  • Status changed from Resolved to Closed
#10

Updated by Ernesto Baschny over 8 years ago

  • Target version deleted (1281)

Also available in: Atom PDF