Commit Graph

2 Commits

Author SHA1 Message Date
Dedushka
a037d8b5e0 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
Barbara Pitt
aa1757da29 issue#17 - unit tests - adding test for banners.php 2020-12-26 20:34:23 -06:00