XxlSsoWebFilter logoutPageUrl 缺少当前页面地址,退出登录后重新登录无法跳转回来
han343626 opened this issue · comments
`
// logout path check
if (logoutPath!=null
&& logoutPath.trim().length()>0
&& logoutPath.equals(servletPath)) {
// remove cookie
SsoWebLoginHelper.removeSessionIdByCookie(req, res);
// redirect logout
String link = req.getRequestURL().toString().replace(logoutPath,"");
String logoutPageUrl = ssoServer.concat(Conf.SSO_LOGOUT) + "?" + Conf.REDIRECT_URL + "=" + link;
res.sendRedirect(logoutPageUrl);
return;
}
`