summaryrefslogtreecommitdiffstats
path: root/modules/session
diff options
context:
space:
mode:
authorGraham Leggett <minfrin@apache.org>2013-10-13 14:27:54 +0200
committerGraham Leggett <minfrin@apache.org>2013-10-13 14:27:54 +0200
commit0d9b5c81a5bcf670283f562d9428f1f56a5e7d2d (patch)
tree7cf80bcc33c38873b07985cdf86d54b22ff1d6b2 /modules/session
parentmod_auth_form: Make sure the optional functions are loaded even when (diff)
downloadapache2-0d9b5c81a5bcf670283f562d9428f1f56a5e7d2d.tar.xz
apache2-0d9b5c81a5bcf670283f562d9428f1f56a5e7d2d.zip
mod_session: After parsing the value of the header specified by the
SessionHeader directive, remove the value from the response. PR 55279. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1531679 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/session')
-rw-r--r--modules/session/mod_session.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/session/mod_session.c b/modules/session/mod_session.c
index 7213eb3c8e..5a8ca4d8cb 100644
--- a/modules/session/mod_session.c
+++ b/modules/session/mod_session.c
@@ -443,6 +443,8 @@ static apr_status_t session_output_filter(ap_filter_t * f,
override = apr_table_get(r->headers_out, conf->header);
}
if (override) {
+ apr_table_unset(r->err_headers_out, conf->header);
+ apr_table_unset(r->headers_out, conf->header);
z->encoded = override;
z->dirty = 1;
session_identity_decode(r, z);