https://bz.apache.org/bugzilla/show_bug.cgi?id=68603

            Bug ID: 68603
           Summary: Request Context path and Query param gets replaced
           Product: Tomcat 9
           Version: 9.0.83
          Hardware: PC
            Status: NEW
          Severity: major
          Priority: P2
         Component: Connectors
          Assignee: dev@tomcat.apache.org
          Reporter: nareshnk1...@gmail.com
  Target Milestone: -----

Context path and the query param gets replaced with the saved request body when
request parameter is parsed. So, getting error that the request context Path
and the canonical path doesn't match when request context Path is obtained.

The Flow goes like this...
After login(Form Authentication) the saved body of the request before login is
restored in the current request where internal buffer is changed over in
org.apache.coyote.http11.Http11Processor#setRequestBody and after that when the
request param is parsed at
org.apache.coyote.http11.filters.SavedRequestInputFilter#doRead the current
request URI and Query param are altered. When request context Path is got after
parsing the request params getting error that the request context Path and the
canonical path doesn't match.

-- 
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