Skip to content

added unicode accepting regex for email#116

Merged
memurats merged 2 commits intomainfrom
nmc/4406-unicode-added-IDN-email-address
Aug 8, 2025
Merged

added unicode accepting regex for email#116
memurats merged 2 commits intomainfrom
nmc/4406-unicode-added-IDN-email-address

Conversation

@psawalka
Copy link
Contributor

@psawalka psawalka commented Aug 6, 2025

Changed type="email" to type="text":
The HTML5 spec treats the email input value as ASCII-compatible, normalizing characters like ß into ss because technically ß is not allowed in a strict email format.

Implemented dual email validation:
One using our existing strict regex for ASCII-only emails, and a second simplified regex that supports Unicode characters like 'ß'. This ensures we can now accept internationalized email addresses.

@memurats memurats merged commit a26b96b into main Aug 8, 2025
6 checks passed
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