Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
When configured to check requests for anonymous users "http:bl" will not check any IP address. The reason is that in line 631
if (variable_get('httpbl_check ... && $user )) {
global variable/struct "user" is always defined and the check results in TRUE.
Probably it was meant to check if the current user id is greater than 0:
... && $user-uid
See attached patch
Comment | File | Size | Author |
---|---|---|---|
httpbl.module-user.patch | 468 bytes | schildi |
Comments
Comment #1
ruharen CreditAttribution: ruharen commentedMarking as duplicate of #575482: No checks done when configured for anonymous users