Opened 14 years ago

Closed 14 years ago

#679 closed defect (fixed)

Error in Reg-Expression "HTMLArea.RE_email"

Reported by: anonymous Owned by: gogo
Priority: high Milestone: Version 1.0
Component: Xinha Core Version: trunk
Severity: critical Keywords: HTMLArea.RE_email
Cc:

Description

Error in Reg-Expression "HTMLArea.RE_email"
You should correct it to

HTMLArea.RE_email = /[\.a-z0-9_]{3,}@[a-z0-9_-]{2,}(\.[a-z0-9_-]{2,})+/i;
instead of
HTMLArea.RE_email = /[a-z0-9_]{3,}@[a-z0-9_-]{2,}(\.[a-z0-9_-]{2,})+/i;

If you type a adress like firstname.lastname@… the Reg-Expression will make it to "mailto:lastname@…"

Change History (1)

comment:1 Changed 14 years ago by gocher

  • Resolution set to fixed
  • Status changed from new to closed

the "\." added in Changeset 469

Note: See TracTickets for help on using tickets.