[cpp-sp] 01/03: Windows Build: Make site aliases (for IIS) a set
Rod Widdowson
rdw at steadingsoftware.com
Thu Jan 16 14:24:46 UTC 2025
This is an automated email from the git hooks/post-receive script.
rdw 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=fa5a09eec79b7c798d4d31fe56f3db6490686b3e
commit fa5a09eec79b7c798d4d31fe56f3db6490686b3e
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Thu Jan 16 14:04:11 2025 +0000
Windows Build: Make site aliases (for IIS) a set
---
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 05f9c1b2..9b4c990c 100644
--- a/iis7_shib/IIS7Request.cpp
+++ b/iis7_shib/IIS7Request.cpp
@@ -112,7 +112,7 @@ IIS7Request::IIS7Request(IHttpContext *pHttpContext, IHttpEventProvider *pEventP
else {
m_hostname = var;
if (site_name != m_hostname) {
- vector<string> aliases;
+ set<string> aliases;
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()) {
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list