commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paulo Roberto Massa Cereda <cereda.pa...@gmail.com>
Subject Re: Question about URLValidator#isValid
Date Sun, 11 Sep 2016 00:08:58 GMT
'ello,

I believe it's case for using a RegexValidator in order to accept 
localhost and passing it to the URLValidator constructor.

Cheerio!

Paulo

Em 10-09-2016 11:42, Philippe Mouawad escreveu:
> Hello,
> Is this URL valid:
> http://localhost/IqGo6EM1JEVZ+MSRJqUSo@qhjVMSFBTs/37/0/1
>
> For me it is, but
> org.apache.commons.validator.routines.UrlValidator#isValid return false for
> it.
>
> My reference is:
> https://tools.ietf.org/html/rfc3986#section-2.2
>
>
> Regards
> Philippe M.
>

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


Mime
View raw message