Skip to content

More optional ipv6 tests #420

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

Merged
merged 2 commits into from
Aug 3, 2020
Merged

Conversation

ChALkeR
Copy link
Member

@ChALkeR ChALkeR commented Jul 21, 2020

  • Leading/traling whitespace is invalid
  • Netmask is not a part of ipv6 address.
  • Zone id is not a part of ipv6 address.
  • Long valid and invalid addresses

Refs:

ChALkeR added 2 commits July 21, 2020 06:11
Leading/traling whitespace is invalid
Netmask is not a part of ipv6 address.
Zone id is not a part of ipv6 address.
},
{
"description": "zone id is not a part of ipv6 address",
"data": "fe80::a%eth1",
Copy link
Member

@Julian Julian Jul 29, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oy, looks like inet_pton / AF_INET6 happily accepts zone IDs, which is how I assume most folks have actually implemented IPv6 validation...

Copy link
Member

@Julian Julian left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Julian Julian merged commit 5443621 into json-schema-org:master Aug 3, 2020
davishmcclurg added a commit to davishmcclurg/json_schemer that referenced this pull request Oct 21, 2021
Fixes a new test failure from: json-schema-org/JSON-Schema-Test-Suite#420

`IPAddr` allows passing netmask, which we don't want.
davishmcclurg added a commit to davishmcclurg/json_schemer that referenced this pull request Apr 22, 2022
Fixes a new test failure from: json-schema-org/JSON-Schema-Test-Suite#420

`IPAddr` allows passing netmask, which we don't want.
davishmcclurg added a commit to davishmcclurg/json_schemer that referenced this pull request May 15, 2023
Fixes a new test failure from: json-schema-org/JSON-Schema-Test-Suite#420

`IPAddr` allows passing netmask, which we don't want.
davishmcclurg added a commit to davishmcclurg/json_schemer that referenced this pull request May 16, 2023
Fixes a new test failure from: json-schema-org/JSON-Schema-Test-Suite#420

`IPAddr` allows passing netmask, which we don't want.
davishmcclurg added a commit to davishmcclurg/json_schemer that referenced this pull request May 22, 2023
Fixes a new test failure from: json-schema-org/JSON-Schema-Test-Suite#420

`IPAddr` allows passing netmask, which we don't want.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants