[shibboleth-sp2] 49/82: SSPCPP-694 Clean up code.

Etienne Dysli Metref edm-guest at moszumanska.debian.org
Thu Nov 16 08:16:24 UTC 2017


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

edm-guest pushed a commit to branch master
in repository shibboleth-sp2.

commit a91c5545e97297d2c57e095730ab41050e1b2fd4
Author: Rod Widdowson <rdw at steadingsoftware.com>
Date:   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);

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