[cpp-sp] branch master updated: SSPCPP-776 Fix multiple response header setting

Rod Widdowson rdw at steadingsoftware.com
Sat Feb 24 12:03:40 EST 2018


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

rdw pushed a commit to branch master
in repository cpp-sp.

View the commit online:
http://git.shibboleth.net/view/?p=cpp-sp.git;a=commit;h=11e9cfb5da54edcaf9ea3de3543e360868302349

The following commit(s) were added to refs/heads/master by this push:
       new  11e9cfb   SSPCPP-776 Fix multiple response header setting
11e9cfb is described below

commit 11e9cfb5da54edcaf9ea3de3543e360868302349
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Sat Feb 24 16:52:48 2018 +0000

    SSPCPP-776 Fix multiple response header setting
    
    https://issues.shibboleth.net/jira/browse/SSPCPP-776
    
    Shibd expects to be able to append response headers.  Make the II7 plugin do so.
---
 iis7_shib/IIS7Request.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/iis7_shib/IIS7Request.cpp b/iis7_shib/IIS7Request.cpp
index 50c89ef..a45203f 100644
--- a/iis7_shib/IIS7Request.cpp
+++ b/iis7_shib/IIS7Request.cpp
@@ -439,7 +439,7 @@ void IIS7Request::setResponseHeader(const char* name, const char* value)
         sz = USHRT_MAX;
     }
 
-    HRESULT hr = m_response->SetHeader(name, value,  static_cast<USHORT>(sz), TRUE);
+    HRESULT hr = m_response->SetHeader(name, value,  static_cast<USHORT>(sz), FALSE);
     if (FAILED(hr)) {
         throwError("setResponseHeader", hr);
     }

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list