Update target return url

This commit is contained in:
Terry W Brady
2018-01-24 09:38:47 -08:00
parent 235b85e201
commit 2ac477e6af

View File

@@ -516,10 +516,7 @@ public class ShibAuthentication implements AuthenticationMethod
else
returnURL = "http://";
returnURL += host;
if (!(port == 443 || port == 80))
returnURL += ":" + port;
returnURL += "/" + contextPath + "/shibboleth-login";
returnURL += request.getHeader("Referer");
try {
shibURL += "?target="+URLEncoder.encode(returnURL, "UTF-8");