You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Marc Logemann <ma...@logemann.org> on 2005/07/28 14:32:41 UTC
UrlValidator
Hi,
can it be that UrlValidator from Commons-Validator doesnt validate URLs
with localhost in it?
The following URL -> http://localhost:8081/context/jsp/versand_1.jsp
breaks in isValidAuthority() within UrlValidator. It seems he tries to
check for toplevel domain length and sees my "localhost" as a toplevel
domain.
I am hoping i ve done something wrong because i would suspect that a
UrlValidator validates this pretty straightforward URL.
--
regards
Marc Logemann
[blog] http://www.logemann.org
[busn] http://www.logentis.de
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org