[JIRA] Created: (SSPCPP-459) redirectLimit parser typo

Takeshi Nishimura (JIRA) noreply at shibboleth.net
Fri Jun 1 10:49:03 BST 2012


redirectLimit parser typo
-------------------------

                 Key: SSPCPP-459
                 URL: https://issues.shibboleth.net/jira/browse/SSPCPP-459
             Project: Shibboleth SP - C++
          Issue Type: Bug
          Components: Configuration
    Affects Versions: 2.5
            Reporter: Takeshi Nishimura
            Assignee: Scott Cantor
            Priority: Minor


I've just read the code with no test, but it seems to have mistakes in the last 2 "exact+host"s.
http://svn.shibboleth.net/view/cpp-sp/branches/REL_2/shibsp/impl/XMLServiceProvider.cpp?annotate=3572
{code:java}
if (!strcmp(redirectLimit.second, "exact+whitelist"))
    m_redirectLimit = REDIRECT_LIMIT_EXACT_WHITELIST;
else if (!strcmp(redirectLimit.second, "exact+host"))
    m_redirectLimit = REDIRECT_LIMIT_HOST_WHITELIST;
else if (!strcmp(redirectLimit.second, "exact+host"))
    m_redirectLimit = REDIRECT_LIMIT_WHITELIST;
{code}

[Document|https://wiki.shibboleth.net/confluence/display/SHIB2/NativeSPSessions] indicates "host+whitelist" and "whitelist" respectively.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the commits mailing list