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

CommentFileSizeAuthor
httpbl.module-user.patch468 bytesschildi
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

ruharen’s picture

Category: task » bug
Status: Active » Closed (duplicate)