Ticket #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
Note: See
TracTickets for help on using
tickets.
