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

Scott Cantor (JIRA) noreply at shibboleth.net
Fri Jun 1 17:38:04 BST 2012


     [ https://issues.shibboleth.net/jira/browse/SSPCPP-459?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Scott Cantor closed SSPCPP-459.
-------------------------------


> 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
>             Fix For: 2.5
>
>          Time Spent: 5 minutes
>  Remaining Estimate: 0 minutes
>
> 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