Opened 6 years ago

Last modified 2 years ago

#16778 assigned defect

dojox.validate.isEmailAddress validates domain names that conform to RFC5890, Internationalized Domain Names, as invalid

Reported by: inga Owned by: dylan
Priority: undecided Milestone: 1.15
Component: Dojox Version: 1.8.3
Keywords: Cc: dylan
Blocked By: Blocking:

Description

dojox.validate.isEmailAddress validates e-mail addresses that contain internationalized characters as invalid.

To reproduce:

  1. Create a dijit.form.ValidationTextBox, use a dojox.validate.isEmailAddress for validation.
  2. Type an e-mail address with internationalized characters in the text box. For example jon@øyvind.no.

Expected result: The dojox.validate.isEmailAddress returns true, as this is a valid e-mail address.

Actual result: The dojox.validate.isEmailAddress false.

Browser type: FireFox
Browser version: 19.0 OS and OS Version: Windows 7

Support for RFC6530, Framework for International Mail, is however not yet widely supported. Thus, ideally there should be a switch for turning support for internationalized characters on or off.

Change History (5)

comment:1 Changed 6 years ago by inga

In fact, it shows out that this standard is pretty much not supported at all yet: http://en.wikipedia.org/wiki/Extended_SMTP#SMTPUTF8

Maybe this bug should just be deleted (I don't have access to delete it, so will leave that to someone else).

comment:2 Changed 6 years ago by bill

Component: GeneralDojox
Owner: set to Adam Peller

Could use \w in the regex in dojox/validate/regexp.js::emailAddress(), rather than A-Z. Or close the ticket. I don't care.

comment:3 Changed 6 years ago by Adam Peller

Cc: dylan added

comment:4 Changed 3 years ago by dylan

Milestone: tbd1.12
Owner: changed from Adam Peller to dylan
Status: newassigned

comment:5 Changed 2 years ago by dylan

Milestone: 1.131.15

Ticket planning... move current 1.13 tickets out to 1.15 to make it easier to move tickets into the 1.13 milestone.

Note: See TracTickets for help on using tickets.