This is on me. I coded/hardcoded the IP address validation to be done against a single valued JSON Key instead of an array of possible IPs/Ranges that allow an embargo to be bypassed.
The offending (more like single acting) code is this
And what I need to add is a different strategy (iterating over each entry and accumulating/binary OR/AND resolved embargo bypasses if the field contains multiple single strings.
What?
This is on me. I coded/hardcoded the IP address validation to be done against a single valued JSON Key instead of an array of possible IPs/Ranges that allow an embargo to be bypassed.
The offending (more like single acting) code is this
And what I need to add is a different strategy (iterating over each entry and accumulating/binary OR/AND resolved embargo bypasses if the field contains multiple single strings.
@alliomeria what I mentioned today.