commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Niall Pemberton (JIRA)" <>
Subject [jira] Commented: (VALIDATOR-205) Improve handling of ; in paths
Date Thu, 23 Nov 2006 10:20:03 GMT
    [ ] 
Niall Pemberton commented on VALIDATOR-205:

The regular expression in RFC 3986 is already being used by UrlValidator - see the URL_PATTERN
static variable.

Also reading RFC 3986 [1] it has the following definition for path:

"segment" and "segment-nz" make up the path. Both of these are composed of any number of "pchar"
characters which is defined as one of the following three categories "unreserved", "pct-encoded"
or "sub-delims"

"sub-delims" includes the semi-colon i.e. ";"

So from what I can see the change you made, fixed the problem and we can close this as "invalid"?


> Improve handling of ; in paths
> ------------------------------
>                 Key: VALIDATOR-205
>                 URL:
>             Project: Commons Validator
>          Issue Type: Improvement
>          Components: Routines
>            Reporter: Henri Yandell
>             Fix For: 1.4.0
> VALIDATOR-204 fixes a bug that a ; was not considered a valid character. It does it by
blanketedly accepting it as an okay character when in fact there are proviso's and conditions
surrounding the existence of a ; within a path. RFC 3986 apparantly contains a regexp for
urls, so might be useful to take that and use it as a basis for this validator.
> Simplest case - improve the ; handling somehow.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message