You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by bu...@apache.org on 2004/08/16 04:16:16 UTC
DO NOT REPLY [Bug 30686] New: -
[validator] UrlValidator fails http://www.google.com
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=30686>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=30686
[validator] UrlValidator fails http://www.google.com
Summary: [validator] UrlValidator fails http://www.google.com
Product: Commons
Version: unspecified
Platform: All
URL: http://www.mail-archive.com/commons-
dev%40jakarta.apache.org/msg46584.html
OS/Version: All
Status: NEW
Severity: Normal
Priority: Other
Component: Validator
AssignedTo: commons-dev@jakarta.apache.org
ReportedBy: tim.reilly@consultant.com
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
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org