Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IPv6Address accepts leading zeroes #97

Closed
GoogleCodeExporter opened this issue Mar 18, 2015 · 1 comment
Closed

IPv6Address accepts leading zeroes #97

GoogleCodeExporter opened this issue Mar 18, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

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

@GoogleCodeExporter
Copy link
Author

thanks for the report.

should be fixed in 8d1eeed6e9f6

Original comment by pmo...@google.com on 29 Jun 2012 at 6:27

  • Changed state: Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant