[shibboleth-sp2] 25/29: Redirect headers have to be in err_headers_out.

Ferenc Wágner wferi-guest at moszumanska.debian.org
Tue Jan 26 21:30:28 UTC 2016


This is an automated email from the git hooks/post-receive script.

wferi-guest pushed a commit to annotated tag 2.4.3
in repository shibboleth-sp2.

commit 2d6f56860887e37dabddf9bdf91ee23cf5ea1d31
Author: Scott Cantor <cantor.2 at osu.edu>
Date:   Thu Jun 30 21:57:29 2011 +0000

    Redirect headers have to be in err_headers_out.
---
 apache/mod_apache.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/apache/mod_apache.cpp b/apache/mod_apache.cpp
index 9ed5159..0b72e37 100644
--- a/apache/mod_apache.cpp
+++ b/apache/mod_apache.cpp
@@ -591,8 +591,8 @@ public:
     HTTPResponse::sendRedirect(url);
     ap_table_set(m_req->headers_out, "Location", url);
     if (m_dc->bExpireRedirects == 1) {
-        ap_table_set(m_req->headers_out, "Expires", "01-Jan-1997 12:00:00 GMT");
-        ap_table_set(m_req->headers_out, "Cache-Control", "private,no-store,no-cache");
+        ap_table_set(m_req->err_headers_out, "Expires", "01-Jan-1997 12:00:00 GMT");
+        ap_table_set(m_req->err_headers_out, "Cache-Control", "private,no-store,no-cache");
     }
     return REDIRECT;
   }

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-shibboleth/shibboleth-sp2.git



More information about the Pkg-shibboleth-devel mailing list