cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rob ten Hove (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CXF-4200) UriInfoImpl.getPathSegments(decode) does not pass 'decode' flag to getPath()
Date Fri, 23 Mar 2012 15:47:26 GMT
UriInfoImpl.getPathSegments(decode) does not pass 'decode' flag to getPath()
----------------------------------------------------------------------------

                 Key: CXF-4200
                 URL: https://issues.apache.org/jira/browse/CXF-4200
             Project: CXF
          Issue Type: Bug
          Components: JAX-RS
    Affects Versions: 2.5.2, 2.6
            Reporter: Rob ten Hove
            Priority: Minor


The function 'UriInfoImpl.getPathSegments(boolean decode)' calls 'getPath()' internally. It
should call 'getPath(decode)' instead.

As an example, consider the following path: 'a/x%2fy/b' ('%2f' = '/').
When calling 'UriInfoImpl.getPathSegments(true)', four path segments are returned: 'a', 'x',
'y', 'b'. However, when 'UriInfoImpl.getPathSegments(false)' is called, the result is the
same. Instead, 'a', 'x%2fy', 'b' is expected.


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message