Skip to content

Commit

Permalink
Resolve leading whitespace error programmatically (#185)
Browse files Browse the repository at this point in the history
  • Loading branch information
Gcolon021 authored Jul 11, 2024
1 parent 01e97dc commit 96c692b
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -362,6 +362,8 @@ public boolean extractAndCheckRule(AccessRule accessRule, Object parsedRequestBo
if (rule == null || rule.isEmpty())
return true;

rule = rule.stripLeading();

Object requestBodyValue;
int accessRuleType = accessRule.getType();

Expand Down

0 comments on commit 96c692b

Please sign in to comment.