Ticket #679 (closed defect: fixed)

Opened 7 years ago

Last modified 7 years ago

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

Changed 7 years ago by gocher

  • status changed from new to closed
  • resolution set to fixed

the "\." added in Changeset 469

Note: See TracTickets for help on using tickets.