• p1mrx@sh.itjust.works
    link
    fedilink
    arrow-up
    2
    ·
    8 months ago

    Because 1.2.3.4 and 1.02.003.04 both map to the same number.

    But 10.20.30.40 and 010.020.030.040 map to different numbers. It’s often best to reject IPv4 addresses with leading zeroes to avoid the decimal vs. octal ambiguity.