fix: while parsing rule identifiers the wrong length is calculated #248

Merged
ali.oezyetimoglu1 merged 1 commits from hotfix-ali-parse-rule-identifiers into master 2024-01-16 08:26:53 +01:00

View File

@ -167,7 +167,7 @@ public class OldRulesParser {
cleanedValue = cleanedValue.substring(1);
}
if (cleanedValue.endsWith("]")) {
cleanedValue = cleanedValue.substring(0, value.length() - 1);
cleanedValue = cleanedValue.substring(0, cleanedValue.length() - 1);
}
if (cleanedValue.isEmpty() || cleanedValue.isBlank()) {
return Collections.emptyList();