mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-08 18:44:22 +00:00
Update target return url
This commit is contained in:
@@ -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");
|
||||
|
Reference in New Issue
Block a user