[cpp-sp] branch master updated: SSPCPP-694 Clean up code.

Rod Widdowson rdw at steadingsoftware.com
Tue Jul 18 10:40:41 EDT 2017


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

The following commit(s) were added to refs/heads/master by this push:
       new  a91c554   SSPCPP-694  Clean up code.
a91c554 is described below

commit a91c5545e97297d2c57e095730ab41050e1b2fd4
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Tue Jul 18 15:39:10 2017 +0100

    SSPCPP-694  Clean up code.
    
    https://issues.shibboleth.net/jira/browse/SSPCPP-694
    
    Remove constants for no-long syupport attributes.
    Add better logging for <site>-less  configuration
---
 iis7_shib/NativeRequest.cpp     | 1 +
 iis7_shib/headers/IIS7_shib.hpp | 2 --
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/iis7_shib/NativeRequest.cpp b/iis7_shib/NativeRequest.cpp
index b144792..2aa3178 100644
--- a/iis7_shib/NativeRequest.cpp
+++ b/iis7_shib/NativeRequest.cpp
@@ -78,6 +78,7 @@ NativeRequest::NativeRequest(IHttpContext *pHttpContext, IHttpEventProvider *pEv
         // ServerVariable SERVER_NAME is what the client sent.  So use the IIS site name (which needs to have been set to something sensible)
         m_hostname = converter.to_bytes(m_ctx->GetSite()->GetSiteName());
         to_lower(m_hostname);
+        log(SPRequest::SPDebug, "Host name: " + m_hostname);
 
         m_useHeaders = g_bUseHeaders;
         m_useVariables = g_bUseVariables;
diff --git a/iis7_shib/headers/IIS7_shib.hpp b/iis7_shib/headers/IIS7_shib.hpp
index 8d2656b..dcb8b96 100644
--- a/iis7_shib/headers/IIS7_shib.hpp
+++ b/iis7_shib/headers/IIS7_shib.hpp
@@ -66,8 +66,6 @@ namespace Config {
     static const XMLCh scheme[] =           UNICODE_LITERAL_6(s, c, h, e, m, e);
     static const XMLCh id[] =               UNICODE_LITERAL_2(i, d);
     static const XMLCh useHeaders[] =       UNICODE_LITERAL_10(u, s, e, H, e, a, d, e, r, s);
-    static const XMLCh theAttribute[] =     UNICODE_LITERAL_9(a, t, t, r, i, b, u, t, e);
-    static const XMLCh thePrefix[] =        UNICODE_LITERAL_6(p, r, e, f, i, x);
     static const XMLCh useVariables[] =     UNICODE_LITERAL_12(u, s, e, V, a, r, i, a, b, l, e, s);
     static const XMLCh Alias[] =            UNICODE_LITERAL_5(A, l, i, a, s);
     static const XMLCh Site[] =             UNICODE_LITERAL_4(S, i, t, e);

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


More information about the commits mailing list