Details
-
Sub-task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.4.1 Release
-
None
Description
org.apache.commons.validator.routines.DomainValidator is missing sTLD - "xxx".
http://en.wikipedia.org/wiki/.xxx
Tested in current trunk. If you add an extra test in DomainValidatorTest:
assertTrue(".xxx should validate as gTLD", validator.isValidGenericTld(".xxx"));
The test will fail. Also of course UrlValidator will fail with any url which has domain .xxx