n8n-io / n8n

Free and source-available fair-code licensed workflow automation tool. Easily automate tasks across different services.
https://n8n.io
Other
48.12k stars 7.44k forks source link

Email validation fails for example@localhost address #10630

Open sambartik opened 2 months ago

sambartik commented 2 months ago

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

  1. Boot up a new instance of n8n
  2. 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 2 months ago

Hey @sambartik,

We have created an internal ticket to look into this which we will be tracking as "GHC-197"