Fix #1494: WithClientIP(MatchOperator, IStringMatcher[]) ignores the operator (#1495)

This commit is contained in:
Dmytro Nikitin
2026-08-09 18:49:13 +02:00
committed by GitHub
parent 05929bdea6
commit 7a8582fef5
2 changed files with 20 additions and 1 deletions
@@ -19,7 +19,7 @@ public partial class Request
{
Guard.NotNullOrEmpty(matchers);
_requestMatchers.Add(new RequestMessageClientIPMatcher(MatchBehaviour.AcceptOnMatch, MatchOperator.Or, matchers));
_requestMatchers.Add(new RequestMessageClientIPMatcher(MatchBehaviour.AcceptOnMatch, matchOperator, matchers));
return this;
}