Opened 8 years ago
Closed 8 years ago
#46391 closed defect (bug) (duplicate)
function is_email returns true on ... or .@ within the e-mail-address
| Reported by: | RudolfFiedler | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Formatting | Version: | |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: |
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
@
8 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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Updated is_email local part regex according to RFC 5952