My Oracle Support Banner

HTTP Client does not Send the Expected Cookie as HttpServletResponse.addCookie() does not Trim the Extra Path Prepended by WLS Plugin (Doc ID 2222521.1)

Last updated on MARCH 26, 2020

Applies to:

Oracle WebLogic Server - Version 12.2.1.0.0 and later
Information in this document applies to any platform.

Symptoms

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:

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.