Opened 5 years ago

Closed 4 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 5 years ago by bill

Summary: regexp limits top-level domain name length to 8 charactersdojox/validate/regexp limits top-level domain name length to 8 characters

comment:2 Changed 5 years ago by dylan

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

comment:3 Changed 4 years ago by dylan

Milestone: 1.111.7.9
Resolution: fixed
Status: assignedclosed

Fixed in https://github.com/dojo/dojox/commit/7c8969b855483b664046663f4dd0b6ee34846a5c (and backported to 1.10, 1.9, 1.8. and 1.7)

Note: See TracTickets for help on using tickets.