Browse Source

null-safe target link filter

multiparty
Justin Richer 8 years ago
parent
commit
0a02e7f545
  1. 4
      openid-connect-client/src/main/java/org/mitre/openid/connect/client/OIDCAuthenticationFilter.java

4
openid-connect-client/src/main/java/org/mitre/openid/connect/client/OIDCAuthenticationFilter.java

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

Loading…
Cancel
Save