Skip to content

Conversation

@garciasdos
Copy link
Contributor

This pull request fixes a bug in the email validation logic within the McpElicitationService. The previous implementation incorrectly marked emails containing an '@' as invalid; this change corrects the logic to properly validate email addresses.

  • Bug fix: Corrected the email validation in the _validateStringFormat method of McpElicitationService to ensure that values containing an '@' are now considered valid emails.

fixes #265325

Copy link
Member

@connor4312 connor4312 left a comment

Choose a reason for hiding this comment

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

whoops 🤦

@connor4312 connor4312 enabled auto-merge (squash) September 5, 2025 15:33
@vs-code-engineering vs-code-engineering bot added this to the September 2025 milestone Sep 5, 2025
@connor4312 connor4312 merged commit d569cb1 into microsoft:main Sep 5, 2025
17 checks passed
@vs-code-engineering vs-code-engineering bot locked and limited conversation to collaborators Oct 20, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

MCP Elicitation email check is reversed

4 participants