-
Notifications
You must be signed in to change notification settings - Fork 6.1k
Document MailAddress consecutive dots validation breaking change in .NET 10 #51023
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
Conversation
…lidation Co-authored-by: gewarren <[email protected]>
docs/core/compatibility/networking/10.0/mailaddress-consecutive-dots.md
Outdated
Show resolved
Hide resolved
docs/core/compatibility/networking/10.0/mailaddress-consecutive-dots.md
Outdated
Show resolved
Hide resolved
docs/core/compatibility/networking/10.0/mailaddress-consecutive-dots.md
Outdated
Show resolved
Hide resolved
docs/core/compatibility/networking/10.0/mailaddress-consecutive-dots.md
Outdated
Show resolved
Hide resolved
docs/core/compatibility/networking/10.0/mailaddress-consecutive-dots.md
Outdated
Show resolved
Hide resolved
docs/core/compatibility/networking/10.0/mailaddress-consecutive-dots.md
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR documents a breaking change in .NET 10 where System.Net.Mail.MailAddress now enforces RFC-compliant validation by rejecting email addresses with consecutive dots (e.g., [email protected]).
Changes:
- Added breaking change documentation article explaining the new validation behavior
- Updated the compatibility index and TOC to include the new entry in the Networking section
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| docs/core/compatibility/networking/10.0/mailaddress-consecutive-dots.md | New breaking change documentation explaining the consecutive dots validation enforcement |
| docs/core/compatibility/10.md | Added entry to the Networking section table linking to the new breaking change article |
| docs/core/compatibility/toc.yml | Added navigation entry for the new breaking change document |
Starting in .NET 10 Preview 1,
System.Net.Mail.MailAddressrejects email addresses with consecutive dots (e.g.,[email protected]) per RFC 5322/2822 compliance. Previously allowed, these now throwFormatException.Changes
Added breaking change article (
docs/core/compatibility/networking/10.0/mailaddress-consecutive-dots.md)Updated index and TOC
docs/core/compatibility/10.mdunder Networking sectiondocs/core/compatibility/toc.ymlfor navigationExample Impact
Related: dotnet/runtime#109590, dotnet/runtime#109690
Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.
Internal previews