Skip to content

Add missing email format edge cases across drafts#849

Open
severe77 wants to merge 1 commit intojson-schema-org:mainfrom
severe77:add-email-format-edge-cases
Open

Add missing email format edge cases across drafts#849
severe77 wants to merge 1 commit intojson-schema-org:mainfrom
severe77:add-email-format-edge-cases

Conversation

@severe77
Copy link

This PR adds three missing email format edge cases across multiple drafts:

  • Missing local-part (@example.com)
  • Missing domain (user@)
  • Unquoted space in local-part (joe bloggs@example.com)

These inputs are invalid according to RFC 5322 addr-spec grammar and represent common boundary and malformed cases that were not explicitly covered in the existing test suite.

The additions have been applied consistently to:

  • draft4
  • draft6
  • draft7
  • draft2019-09
  • draft2020-12

No existing tests were modified. The new cases were added to the existing email format tests.

@severe77 severe77 requested a review from a team as a code owner February 22, 2026 19:40
@severe77
Copy link
Author

@jdesrosiers Could you please take a look at this pr when convenient?
happy to make any adjustments if needed.

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.

1 participant