Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-1979

ServletHandlerRequest.getPathInfo() returns undecoded string

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • http-2.0.4
    • http-2.2.0
    • HTTP Service
    • None

    Description

      The Servlet API specifies the HttpServletRequest.getPathInfo() to return a decoded path string.

      The current implementation just cuts off the servlet context and servlet alias from the request URL (retrieved from HttpServletRequest.getRequestURI()), which is not decoded. Therefore the resulting path info is also not decoded and needs decoding.

      Attachments

        1. FELIX-1979.patch
          1 kB
          Felix Meschberger
        2. FELIX-1979-2.patch
          3 kB
          Felix Meschberger

        Issue Links

          Activity

            People

              fmeschbe Felix Meschberger
              fmeschbe Felix Meschberger
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: