I encountered this awhile back but didn't have time to investigate.
As a workaround I use the localhost IP address "127.0.0.1" but it
would be nice to get this fixed.
 

-----Original Message-----
From: Marc Logemann [mailto:[EMAIL PROTECTED] 
Sent: Thursday, July 28, 2005 8:33 AM
To: user@struts.apache.org
Subject: 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to