Loading src/main/java/org/eclipse/openk/portal/controller/InputDataValuator.java +1 −3 Original line number Diff line number Diff line Loading @@ -40,8 +40,6 @@ public class InputDataValuator { LoginCredentials obj; try { obj = JsonGeneratorBase.getGson().fromJson(credentials, LoginCredentials.class); checkWhitelistChars(obj.getPassword()); checkWhitelistChars(obj.getPassword()); } catch (Exception e) { // NOSONAR obj = null; } Loading @@ -51,7 +49,7 @@ public class InputDataValuator { } } private void checkWhitelistChars(String txt) throws PortalBadRequest { private void checkWhitelistChars(String txt) throws PortalBadRequest { // NOSONAR 24.09.2018: There's a great possibility that we need a whitebox-charecter check for security reasons again. Because of this, we leave this code checkWhitelistChars(txt, false); } Loading Loading
src/main/java/org/eclipse/openk/portal/controller/InputDataValuator.java +1 −3 Original line number Diff line number Diff line Loading @@ -40,8 +40,6 @@ public class InputDataValuator { LoginCredentials obj; try { obj = JsonGeneratorBase.getGson().fromJson(credentials, LoginCredentials.class); checkWhitelistChars(obj.getPassword()); checkWhitelistChars(obj.getPassword()); } catch (Exception e) { // NOSONAR obj = null; } Loading @@ -51,7 +49,7 @@ public class InputDataValuator { } } private void checkWhitelistChars(String txt) throws PortalBadRequest { private void checkWhitelistChars(String txt) throws PortalBadRequest { // NOSONAR 24.09.2018: There's a great possibility that we need a whitebox-charecter check for security reasons again. Because of this, we leave this code checkWhitelistChars(txt, false); } Loading