Skip to content

Test: add additional ipv4 boundary invalid cases across active drafts#853

Closed
severe77 wants to merge 1 commit intojson-schema-org:mainfrom
severe77:test/ipv4-boundary-cases
Closed

Test: add additional ipv4 boundary invalid cases across active drafts#853
severe77 wants to merge 1 commit intojson-schema-org:mainfrom
severe77:test/ipv4-boundary-cases

Conversation

@severe77
Copy link

Summary

Adds additional invalid boundary test cases for the ipv4 format across active drafts (draft4 through draft2020-12).

What’s included

The following malformed IPv4 dotted-decimal inputs were added as invalid cases:

  • 1.2.3 (three octets)
  • 1.2.3.-1 (negative octet)
  • 1.2.3.4. (trailing dot)
  • 1.2.3. 4 (internal whitespace)

These cases reflect violations of the IPv4 dotted-decimal address syntax as defined in RFC 791 and ensure implementations correctly reject structurally invalid input.

Scope

  • Applied consistently to all active drafts defining format: "ipv4"
  • No existing tests were modified

@severe77 severe77 requested a review from a team as a code owner February 24, 2026 06:34
@jdesrosiers
Copy link
Member

Duplicate #840

@severe77
Copy link
Author

severe77 commented Feb 25, 2026

Duplicate #840
apologies my bad here,
can you check the other prs?

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