WLS Proxy Servlet (weblogic.servlet.proxy.HttpProxyServlet) does not consider the Header values from the wrapped request (Doc ID 1298818.1)

Last updated on JUNE 09, 2016

Applies to:

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

Symptoms

In WebLogic 10.3.x when using WebLogicProxyServlet and on forwarding wrapped requests by adding /modifying default header using wrapper request with HttpRequestWrapper, the forwarded HTTP headers to the target application from WebLogicProxyServlet showed default HTTP requests instead of wrapped HTTP requests.

WLS Proxy Servlet does not consider the Header values from the wrapped request (if there is a request wrapper). The header sent to the target application are always from the Original HTTP request.

This was working fine in WLS 8.1.6.

Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms