ubicoo/yourls-pseudonymize — comment on commit 914b0acb86349b6ad6ba718e4be2c8d708d8ecea
File:  line 0
By bmhm:

I just saw my patch would return invalid IPv6 addresses, if their last four bytes are IPv4-adresses:
`::ffff:127.0.0.1` is `::ffff:7f00:1`. This means, you could change it to `::ffff:7f00:0` to get rid of the last two bytes.
`::ffff:192.0.43.10` is equivalent to `::ffff:c000:2b0a`. This means, you could null `2b0a`: `::ffff:c000:0`. My patch would create ``::ffff:0`, which is invalid (two bytes missing).