Skip to content

Bugs on email validation/刚刚余飞跑过来炫耀网站 #13

@johnmave126

Description

@johnmave126

js/postile/view/signup/signup.js

According to Section 3.4.1 of RFC 2822
Address
"test"@example.com
should be valid. However, because of an extra space,

(\ ".+")

it fails.

Also according to RFC 1034 and the document above.
The domain part of the email can be more flexible
There can be CNAME email address such as
example@hk
There can be IPv6 email address such as
example@[1::3F]
Since the unicode domain name is part of RFC or IETS
Some weird email address such as
example@exàmple.com
should also be valid.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions