You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by "Henri Yandell (JIRA)" <ji...@apache.org> on 2006/10/06 23:48:19 UTC

[jira] Created: (VALIDATOR-205) Improve handling of ; in paths

Improve handling of ; in paths
------------------------------

                 Key: VALIDATOR-205
                 URL: http://issues.apache.org/jira/browse/VALIDATOR-205
             Project: Commons Validator
          Issue Type: Improvement
            Reporter: Henri Yandell
         Assigned To: Henri Yandell


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: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] Updated: (VALIDATOR-205) Improve handling of ; in paths

Posted by "Niall Pemberton (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/VALIDATOR-205?page=all ]

Niall Pemberton updated VALIDATOR-205:
--------------------------------------

      Component/s: Routines
    Fix Version/s: 1.4.0

> Improve handling of ; in paths
> ------------------------------
>
>                 Key: VALIDATOR-205
>                 URL: http://issues.apache.org/jira/browse/VALIDATOR-205
>             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: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] Commented: (VALIDATOR-205) Improve handling of ; in paths

Posted by "Niall Pemberton (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/VALIDATOR-205?page=comments#action_12452193 ] 
            
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"?


[1] http://www.ietf.org/rfc/rfc3986.txt

> Improve handling of ; in paths
> ------------------------------
>
>                 Key: VALIDATOR-205
>                 URL: http://issues.apache.org/jira/browse/VALIDATOR-205
>             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: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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