Fix basic Auth Login not shown when exceeding failure attempt count after enabling recaptcha with multi-option login
@@ -736,7 +736,8 @@ public class DefaultStepHandler implements StepHandler {
} else {
return response.encodeRedirectURL(loginPage + ("?" + context.getContextIdIncludedQueryParams())) +
- "&authenticators=" + authenticatorNames + ":" + FrameworkConstants.LOCAL + retryParam;
+ "&authenticators=" + URLEncoder.encode(authenticatorNames + ":" + FrameworkConstants.LOCAL,
+ "UTF-8") + retryParam;
}
}
}
