Opened 8 years ago
Last modified 4 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:
- Create a dijit.form.ValidationTextBox, use a dojox.validate.isEmailAddress for validation.
- Type an e-mail address with internationalized characters in the text box. For example [email protected]ø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 8 years ago by
comment:2 Changed 8 years ago by
Component: | General → Dojox |
---|---|
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 8 years ago by
Cc: | dylan added |
---|
comment:4 Changed 5 years ago by
Milestone: | tbd → 1.12 |
---|---|
Owner: | changed from Adam Peller to dylan |
Status: | new → assigned |
comment:5 Changed 4 years ago by
Milestone: | 1.13 → 1.15 |
---|
Ticket planning... move current 1.13 tickets out to 1.15 to make it easier to move tickets into the 1.13 milestone.
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).