forked from leftypol/leftypol
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.
This commit is contained in:
parent
f030ce8215
commit
a037d8b5e0
2 changed files with 626 additions and 588 deletions
1182
inc/mod/pages.php
1182
inc/mod/pages.php
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue