Commit ebfb7ada authored by Frank Dietrich's avatar Frank Dietrich
Browse files

Char-Whitelist-Check bei Passwort raus

parent fbfcd365
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -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;
        }
@@ -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);
    }