If more than rules specified, eg.
- { type: ip, action: deny, address: 192.168.1.100 }
- { type: ip, action: deny, address: 192.168.1.200 }

only the last one can pass.

Bug should occur at /src/Entity/Filter.php: line 207.

I added if ($is_allowed) { return $is_allowed; } under line 207 to temp resolve it.

Comments

davewong created an issue. See original summary.

  • hayashi committed 929ef5a on 8.x-1.x
    Issue #3012241 by davewong: Fix rule checking logic
    
hayashi’s picture

Thank you for reporting.

I have fixed the issue and it will be contained in next release.

hayashi’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.