Well... Another doubt is about parentheses.
  The parser of UrlValidator is not allowing the "(" and ")" at
"segment" section... For example, if we try the URL
"http://www.abc123.com/test(test)/" the isValid method returns false,
but reading the RFC's 3.3 section we can see that the segment block
can take unreserved characters, and these can take mark values... And
finally the parentheses are valid mark values.
  Is this correct? Is it a bug of UrlValidator or a misunderstood?
  Thanks.

Julio

On 1/8/07, Julio S. G. <[EMAIL PROTECTED]> wrote:
You're right.
Thanks a lot.

On 1/8/07, sebb <[EMAIL PROTECTED]> wrote:
> 3.2.2. Server-based Naming Authority
>
> shows that "_" is not allowed in a hostname
>
> On 08/01/07, Julio S. G. <[EMAIL PROTECTED]> 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)
> >   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: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
> ---------------------------------------------------------------------
> 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