[shibboleth-sp2] 52/119: Wasn't setting cookies during full page responses.

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


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

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

commit 0e6a3095268e96d029d02f2576cc6fe858732eaf
Author: Scott Cantor <cantor.2 at osu.edu>
Date:   Fri Sep 14 17:41:39 2007 +0000

    Wasn't setting cookies during full page responses.
---
 isapi_shib/isapi_shib.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/isapi_shib/isapi_shib.cpp b/isapi_shib/isapi_shib.cpp
index bb51f4d..f0968c5 100644
--- a/isapi_shib/isapi_shib.cpp
+++ b/isapi_shib/isapi_shib.cpp
@@ -719,7 +719,7 @@ public:
     int code=200,
     const string& content_type="text/html",
     const Iterator<header_t>& headers=EMPTY(header_t)) {
-    string hdr = string ("Connection: close\r\nContent-type: ") + content_type + "\r\n";
+    string hdr = m_cookie + "Connection: close\r\nContent-type: " + content_type + "\r\n";
     for (int k = 0; k < headers.size(); k++) {
       hdr += headers[k].first + ": " + headers[k].second + "\r\n";
     }

-- 
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