[cpp-sp] branch main updated: Remove older code left behind.
Scott Cantor
cantor.2 at osu.edu
Wed Jan 15 21:11:54 UTC 2025
This is an automated email from the git hooks/post-receive script.
scantor pushed a commit to branch main
in repository cpp-sp.
View the commit online:
http://git.shibboleth.net/view/?p=cpp-sp.git;a=commit;h=e61d569a9e66cc9d2b2873bc3e9629f4979247e7
The following commit(s) were added to refs/heads/main by this push:
new e61d569a Remove older code left behind.
e61d569a is described below
commit e61d569a9e66cc9d2b2873bc3e9629f4979247e7
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Wed Jan 15 16:11:50 2025 -0500
Remove older code left behind.
---
iis7_shib/IIS7Request.cpp | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/iis7_shib/IIS7Request.cpp b/iis7_shib/IIS7Request.cpp
index 4385ff09..05f9c1b2 100644
--- a/iis7_shib/IIS7Request.cpp
+++ b/iis7_shib/IIS7Request.cpp
@@ -111,10 +111,10 @@ IIS7Request::IIS7Request(IHttpContext *pHttpContext, IHttpEventProvider *pEventP
}
else {
m_hostname = var;
- if (site_name != m_hostname && site.m_aliases.find(m_hostname) == site.m_aliases.end()) {
+ if (site_name != m_hostname) {
vector<string> aliases;
- string s = site.getString(ModuleConfig::SITE_ALIASES_PROP_NAME, "");
- split_to_container(aliases, s.c_str());
+ const char* s = site.getString(ModuleConfig::SITE_ALIASES_PROP_NAME, "");
+ split_to_container(aliases, s);
if (find(aliases.begin(), aliases.end(), m_hostname) == aliases.end()) {
m_hostname = site_name;
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list