commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Cooper" <mart...@apache.org>
Subject Re: Underscore problem.
Date Mon, 08 Jan 2007 17:47:08 GMT
On 1/8/07, Julio S. G. <juliosg@gmail.com> wrote:
>
>    Hello,
>
>    I've been trying to validate an URL that hostname contains a
> underscore character and it returns "false" indicating that this URL
> is invalid but it´s seems to me that this is not correct (according to
> RFC 2396 section 2.2)


An underscore might be valid as part of a URI, but my understanding is that
it's illegal as part of a domain name.

--
Martin Cooper


   I'm using the 1.3.1 version and trying to validate any URL like
> "http://www.abc_abc.com/"
>    Thank you,
>
> Julio
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-user-help@jakarta.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message