Last updated on APRIL 24, 2017
Applies to:Oracle WebLogic Server - Version 22.214.171.124.0 and later
Information in this document applies to any platform.
HttpServletResponse.addCookie() does not trim the extra path that is prepended by WLS plugin. Therefore, next time, HTTP client does not send the expected cookie within HTTP request header.
With following scenario, [path=/<prepended-path>/webapp2] within HTTP response header (WLS Server -> WLS Plugin) that needs to be trimmed as [path=/webapp2]. WLS needs to return the trimmed cookie path within its HTTP response header with PathPrepend (WL-PATH-PREPEND) taken into consideration.
HTTP Client sends a HTTP request to WLS Server through WLS Plugin, then receives a HTTP response likewise as follows:
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms