leftypol/inc/mod
Dedushka 6d43a7f62b
Protect IPs in public moderation logs.
As reported, IPv6 addresses were not properly hidden in the public
facing moderation logs. This commit filters both IPv4 and IPv6
addresses.

We broke out into a separate function so that it can be tested with
the test suite.

A rudimentary test has been added to test the newly added
protect_ip($entry) function.
2021-01-17 13:03:17 -05:00
..
auth.php Handle mcrypt_create_iv deprectation by using randombytes in newer PHP versions 2019-02-26 10:58:36 +10:00
ban.php Begin upgrade to much better bans table. DO NOT PULL YET; It won't work. 2013-09-17 09:15:24 +10:00
config-editor.php Begin upgrade to much better bans table. DO NOT PULL YET; It won't work. 2013-09-17 09:15:24 +10:00
pages.php Protect IPs in public moderation logs. 2021-01-17 13:03:17 -05:00