null-safe target link filter

multiparty
Justin Richer 8 years ago
parent 84695aa830
commit 0a02e7f545

@ -708,7 +708,9 @@ public class OIDCAuthenticationFilter extends AbstractAuthenticationProcessingFi
if (!Strings.isNullOrEmpty(target)) {
session.removeAttribute(TARGET_SESSION_VARIABLE);
if (deepLinkFilter != null) {
target = deepLinkFilter.filter(target);
}
response.sendRedirect(target);
} else {

Loading…
Cancel
Save