b0c1 commented on code in PR #3027:
URL: https://github.com/apache/fineract/pull/3027#discussion_r1130847735
##########
fineract-provider/src/main/java/org/apache/fineract/infrastructure/jobs/filter/LoanCOBApiFilter.java:
##########
@@ -66,6 +66,7 @@ public class LoanCOBApiFilter extends OncePerRequestFilter
implements BatchFilte
private static final List<HttpMethod> HTTP_METHODS =
List.of(HttpMethod.POST, HttpMethod.PUT, HttpMethod.DELETE);
+ public static final Pattern IGNORE_LOAN_PATH_PATTERN =
Pattern.compile("\\/?loans\\/catch-up");
Review Comment:
question mark, because if it's exists it will match to
"/any_text-before_loans/catch-up" URL, not just the "/loans/catch-up"
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]