https://bz.apache.org/bugzilla/show_bug.cgi?id=59641
            Bug ID: 59641
           Summary: getRequestDispatcher encodes URI
           Product: Tomcat 8
           Version: 8.0.35
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina
          Assignee: dev@tomcat.apache.org
          Reporter: r...@rdprojekt.pl

In a Jersey REST application I have one of the resources located under
"api/sys:App/{id}" path. When I request this path (/api/sys:App/13) from a
browser Jersey matches the URL and this request is processed. However if the
request is forwarded inside the container (in my case I use urlrewrite) the
request is being forwarded to "/api/sys%3AApp/13" and that does not match the
Jersey path.

To forward the request urlrewrite gets the request dispatcher for this path 

dispatcher = request.getRequestDispatcher(toUrl)

and requestURI in the dispatcher is encoded (it wasn't until 8.0.35 release)
see Bug 59317

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to