an URL contained one slash too many

This commit is contained in:
Hendrik Steller
2019-10-11 21:34:05 +02:00
parent 44ca33ae0f
commit e7e8da5db3

View File

@@ -127,7 +127,7 @@ public class KVVLogin extends HTTPService {
private void step5(String SAMLResponse, final NetworkCallback<HashMap<String, String>> callback, final NetworkErrorCallback errorCallback) {
HashMap<String, String> body = new HashMap<>();
body.put("SAMLResponse", SAMLResponse);
post(KVV_SERVER_URL+"/Shibboleth.sso/SAML2/POST", null, body, response -> {
post(KVV_SERVER_URL+"Shibboleth.sso/SAML2/POST", null, body, response -> {
String cookies = response.getHeaders().get("Set-Cookie");
if (cookies ==null) {
errorCallback.onError(new NetworkError(100151, -1, "Error on starting KVV session!"));