Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
Operating System: All
Platform: All
-
30686
Description
Per discussion on commons-dev list the following isValid method should not
return false for http://www.google.com;
public void testSanity() {
UrlValidator v = new UrlValidator();
assertTrue(v.isValid("http://www.google.com"));
}
Bug/enhancement I think is to make port and path optional tokens of the url.
Full thread available here:
http://www.mail-archive.com/commons-dev%40jakarta.apache.org/msg46584.html