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

Remove Handling of Leading Zeros in IPv4 Addresses #234

Open
1 task done
bendbennett opened this issue Sep 20, 2022 · 0 comments
Open
1 task done

Remove Handling of Leading Zeros in IPv4 Addresses #234

bendbennett opened this issue Sep 20, 2022 · 0 comments

Comments

@bendbennett
Copy link
Contributor

Terraform CLI and Provider Versions

TF v1.2.8
DNS Provider v3.2.3

Use Cases or Problem Statement

As part of maintaining backwards compatibility with pre-1.17 versions of Go that allowed leading zeros in IPv4 address, code changes were made in Return miekg/dns Errors to Practitioners to strip out leading zeros.

Proposal

As part of the next major release we should strip out handling of IPv4 addresses with leading zeros as Go 1.17 and later reject such addresses in ParseIP and ParseCIDR functions.

How much impact is this issue causing?

Low

Additional Information

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
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