Opened 6 years ago
Closed 6 years ago
#46391 closed defect (bug) (duplicate)
function is_email returns true on ... or .@ within the e-mail-address
Reported by: | RudolfFiedler | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | Formatting | Keywords: | has-patch |
Focuses: | Cc: |
Description
Hi,
the correct e-mail-address-syntax don't allow points (.) exactly before the @, and don't allow more than one point back to back.
2 examples:
The e-mail r.fiedler.@… is wrong, but is_email() returns true
the e-mail r..fiedler@… is wrong, but is_email() returns true
Attachments (2)
Change History (4)
#1
in reply to:
↑ description
@
6 years ago
- Keywords has-patch added; needs-patch removed
Replying to RudolfFiedler:
Hi,
the correct e-mail-address-syntax don't allow points (.) exactly before the @, and don't allow more than one point back to back.
2 examples:
The e-mail r.fiedler.@… is wrong, but is_email() returns true
the e-mail r..fiedler@… is wrong, but is_email() returns true
Note: See
TracTickets for help on using
tickets.
Updated is_email local part regex according to RFC 5952