Merge pull request #1561 from velias/KEYCLOAK-1739

KEYCLOAK-1739 - correct handling of diacritics from http request in KeycloakServer
This commit is contained in:
Bill Burke 2015-08-27 09:06:42 -04:00
commit 43f2199d46

View file

@ -295,6 +295,7 @@ public class KeycloakServer {
di.setClassLoader(getClass().getClassLoader()); di.setClassLoader(getClass().getClassLoader());
di.setContextPath("/auth"); di.setContextPath("/auth");
di.setDeploymentName("Keycloak"); di.setDeploymentName("Keycloak");
di.setDefaultEncoding("UTF-8");
di.setDefaultServletConfig(new DefaultServletConfig(true)); di.setDefaultServletConfig(new DefaultServletConfig(true));
di.addWelcomePage("theme/keycloak/welcome/resources/index.html"); di.addWelcomePage("theme/keycloak/welcome/resources/index.html");