Opened 7 years ago
Closed 7 years ago
#18452 closed defect (fixed)
dojox/validate/regexp limits top-level domain name length to 8 characters
Reported by: | thaskins | Owned by: | dylan |
---|---|---|---|
Priority: | undecided | Milestone: | 1.7.9 |
Component: | Dojox | Version: | 1.10.3 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
The technology domain fails url validation due to its length. It is a new valid TLD (i.e. somecompany.technology)
This limit seems to come from here in dojox/validate/regexp.js:
var domainNameRE = "(?:[a-zA-Z](?:[-\\da-zA-Z]{0,6}[\\da-zA-Z])?)";
Change History (3)
comment:1 Changed 7 years ago by
Summary: | regexp limits top-level domain name length to 8 characters → dojox/validate/regexp limits top-level domain name length to 8 characters |
---|
comment:2 Changed 7 years ago by
Milestone: | tbd → 1.11 |
---|---|
Owner: | changed from Adam Peller to dylan |
Status: | new → assigned |
comment:3 Changed 7 years ago by
Milestone: | 1.11 → 1.7.9 |
---|---|
Resolution: | → fixed |
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
Fixed in https://github.com/dojo/dojox/commit/7c8969b855483b664046663f4dd0b6ee34846a5c (and backported to 1.10, 1.9, 1.8. and 1.7)