commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 30686] - [validator] UrlValidator fails http://www.google.com
Date Mon, 01 Nov 2004 11:16:42 GMT
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





------- Additional Comments From rwinston@eircom.net  2004-11-01 11:16 -------
Is it because it appends a port and querystring to the result?

I added ("www.google.com/", true) as a new TestPair, and got the exception:

testIsValid(org.apache.commons.validator.UrlTest)junit.framework.AssertionFailedError:
http://www.google.com/:80?action=view expected:<false> but was:<true>

i.e. it appends a :80?action=view , which obviously will fail due to the
trailing '/'.

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message