#I66S79 CAS退出跳转报错问题

This commit is contained in:
MaxKey 2022-12-20 16:10:53 +08:00
parent f84e1d5607
commit 9e96f43c00

View File

@ -184,7 +184,7 @@ public class CasAuthorizeEndpoint extends CasBaseAuthorizeEndpoint{
@RequestMapping(CasConstants.ENDPOINT.ENDPOINT_LOGOUT)
public ModelAndView logout(HttpServletRequest request , HttpServletResponse response,
@RequestParam(value = CasConstants.PARAMETER.SERVICE , required = false) String casService){
StringBuffer logoutUrl = new StringBuffer("force/logout");
StringBuffer logoutUrl = new StringBuffer("/force/logout");
if(StringUtils.isNotBlank(casService)){
logoutUrl.append("?").append("redirect_uri=").append(casService);
}