Skip to content

Commit da0779a

Browse files
Update validation length
1 parent fb37e15 commit da0779a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/uid2/shared/audit/Audit.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ private boolean validateNoSQL(String fieldValue, String propertyName) {
197197
}
198198

199199
private boolean validateId(String uidInstanceId, String propertyName) {
200-
if(uidInstanceId.length() < 100 && validateNoSecrets(uidInstanceId, propertyName) && validateNoSQL(uidInstanceId, propertyName) ) {
200+
if(uidInstanceId.length() < 250 && validateNoSecrets(uidInstanceId, propertyName) && validateNoSQL(uidInstanceId, propertyName) ) {
201201
return true;
202202
} else {
203203
toJsonValidationErrorMessageBuilder.append(String.format("Malformed %s found in the audit log. ", propertyName));

0 commit comments

Comments
 (0)