3 ms·
Don't do ad-hoc string parsing. This case is going to explode on ipv4-mapped addresses with dot notation for the last 32bits. https://tools.ietf.org/html/rfc40
by the8472 8y ago
Don't do ad-hoc string parsing. This case is going to explode on ipv4-mapped addresses with dot notation for the last 32bits.
https://tools.ietf.org/html/rfc4038#section-4.2 https://tools.ietf.org/html/rfc4038#section-4.2
- ggm 8y agoYes. It's a weak-as expedient. I've managed to avoid mapped in the last few years.