Merge branch 'hotfix-ali-parse-rule-identifiers' into 'master'
fix: while parsing rule identifiers the wrong length is calculated See merge request redactmanager/redaction-service!248
This commit is contained in:
commit
9c41888721
@ -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();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user