Commit Graph

3 Commits

Author SHA1 Message Date
towards-a-new-leftypol bfe0e0eae6 Add guzzle to composer file
- also delete weird unit test that doesn't seem to reference any existing function
2023-09-05 14:21:38 -04:00
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
Barbara Pitt 554dc7bbeb issue#17 - unit tests - adding test for banners.php 2020-12-26 20:34:23 -06:00