Accept IPv4 short forms like `10/8`
Closed this issue · 1 comments
stbuehler commented
The underlying rust parser for IpAddr
/ Ipv4Addr
doesn't seem to accept these.
stbuehler commented
Support for this is deprecated and going to be removed in 0.3.0.
"192.168"
should never have been parsed as192.168.0.0/32
- perhaps as192.168.0.0/16
. Newparsers
module has support for that- POSIX
inet_addr
parses"192.168"
as192.0.0.168
- clearly there is no common scheme here, better to reject such inputs by default. Theparsers
module also supportsinet_addr
.