Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-4200

UriInfoImpl.getPathSegments(decode) does not pass 'decode' flag to getPath()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.5.2, 2.6
    • 2.3.10, 2.4.7, 2.5.3, 2.6
    • JAX-RS
    • None
    • Novice

    Description

      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.

      Attachments

        Activity

          People

            sergey_beryozkin Sergey Beryozkin
            robth Rob ten Hove
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: