This repository was archived by the owner on Jun 12, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 69
This repository was archived by the owner on Jun 12, 2024. It is now read-only.
IPv6Address accepts leading zeroes #97
Closed
@GoogleCodeExporter
Description
What steps will reproduce the problem?
1. ipaddr.IPAddress('02001:db8::', 6)
What is the expected output? What do you see instead?
Should throw a ValueError, because leading zeroes are not allowed in IPv6
addresses (see RFC 4291). It dows not.
What version of the product are you using? On what operating system?
2.1.10, tried Windows 7 and Linux.
Please provide any additional information below.
Original issue reported on code.google.com by johannes...@gmail.com on 12 Jun 2012 at 2:32