Email validation fails for example@localhost address
Opened this issue · 1 comments
sambartik commented
Bug Description
The email validation present in the "Setup owner account" page does not allow an email in the form of example@localhost
.
Context from this Stack Overflow question:
RFC 2822 (Internet Message Format Standard) allows it but RFC 2821 (SMTP Standard) says it should fail.
To Reproduce
- Boot up a new instance of n8n
- Try to enter the email
example@localhost
to the email field of the setup screen
Expected behavior
Not mark as invalid
Operating System
Ubuntu 24.04
n8n Version
1.56.2
Node.js Version
v20.15.0
Database
PostgreSQL
Execution mode
main (default)
Joffcom commented
Hey @sambartik,
We have created an internal ticket to look into this which we will be tracking as "GHC-197"