[FEATURE] Add API to anonymize IP addresses 18/56718/8
authorGeorg Ringer <georg.ringer@gmail.com>
Tue, 27 Feb 2018 04:28:57 +0000 (05:28 +0100)
committerGeorg Ringer <georg.ringer@gmail.com>
Thu, 19 Apr 2018 11:19:58 +0000 (13:19 +0200)
[FEATURE] Add API to anonymize IP addresses

Add an API to anonymize IP addresses.
The core uses this API to anonymize all IP addresses before
storing them. E.g. when logging.

This a necessary tool in order to comply with data and privacy
protections laws.

Resolves: #84053
Releases: master, 8.7, 7.6
Change-Id: Id45ee94696dee4fa2293e1226f2076883f6b9ade
Reviewed-on: https://review.typo3.org/56718
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
typo3/sysext/core/Classes/Utility/IpAnonymizationUtility.php [new file with mode: 0644]
typo3/sysext/core/Documentation/Changelog/7.6.x/Feature-84053-APIToAnonymizeIPAddresses.rst [new file with mode: 0644]
typo3/sysext/core/Tests/Unit/Utility/IpAnonymizationUtilityTest.php [new file with mode: 0644]