Menu

#1 zero-padded IPv4 strings

open
nobody
None
1
2007-04-27
2007-04-27
D.J.
No

Zero-padded IPv4 strings are not supported. All IPv4 strings used by mod_httpbl currently are expected to be formatted with the fewest number of characters-per-octet as possible.

One useful feature would be to normalize IP addresses before storing and/or comparing IPs.

Currently, these IPs would not match:
"1.2.3.4" (unpadded) and "001.002.003.004" (padded)

A normalization function would solve this issue and reduce possible support questions.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB