[cpp-sp COMMIT] /branches/REL_2/shibsp/ServiceProvider.cpp

noreply at shibboleth.net noreply at shibboleth.net
Mon Oct 29 13:56:33 EDT 2012


Author: scantor
Date: Mon Oct 29 13:56:33 2012
New Revision: 3809

URL: http://svn.shibboleth.net/view/cpp-sp?rev=3809&view=rev
Log:
https://issues.shibboleth.net/jira/browse/SSPCPP-518

Modified:
    branches/REL_2/shibsp/ServiceProvider.cpp

Modified: branches/REL_2/shibsp/ServiceProvider.cpp
URL: http://svn.shibboleth.net/view/cpp-sp/branches/REL_2/shibsp/ServiceProvider.cpp?rev=3809&r1=3808&r2=3809&view=diff
==============================================================================
--- branches/REL_2/shibsp/ServiceProvider.cpp (original)
+++ branches/REL_2/shibsp/ServiceProvider.cpp Mon Oct 29 13:56:33 2012
@@ -305,7 +305,9 @@
                 if (!qstr || !strstr(qstr, "shiblogoutdone=1")) {
                     // First leg of circuit, so we redirect to the logout endpoint specified with this URL as a return location.
                     string selfurl = request.getRequestURL();
-                    if (!qstr)
+                    if (qstr)
+                        selfurl += '&';
+                    else
                         selfurl += '?';
                     selfurl += "shiblogoutdone=1";
                     string loc = requireLogoutWith.second;



More information about the commits mailing list