Oracle iPlanet Web Server - When Rewritiing a Specific Cookie Header, All Cookie Headers are Removed (Doc ID 2067886.1)

Last updated on APRIL 03, 2017

Applies to:

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

Symptoms

 All cookie headers are removed 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" $srvhdrs{'Set-cookie'}="JROUTE=$1"
</If>

You can see below that "id" header is removed after the rewrite.

 

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