My Oracle Support Banner

Oracle iPlanet Web Server - When Rewritiing a Specific Cookie Header, Duplicate Cookie Headers are Sent in Server Response (Doc ID 2067888.1)

Last updated on JULY 23, 2018

Applies to:

Oracle iPlanet Web Server - Version 7.0 to 7.0 [Release 7.0]
Information in this document applies to any platform.

Symptoms

Duplicate cookie headers are sent in server response when a specific cookie header is rewritten. For example:

Output fn="set-variable" insert-srvhdrs="Set-cookie: id=testid"
Output fn="set-variable" insert-srvhdrs="Set-cookie: JROUTE=testjroute; HttpOnly"
<If defined $srvhdrs{'Set-cookie'} and $srvhdrs{'Set-cookie'} =~ "JROUTE=(.*); HttpOnly">
Output fn="set-variable" insert-srvhdrs{'Set-cookie'}="JROUTE=$1"
</If>

You can see below that there are duplicate headers after the rewrite.

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!


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