Closed (duplicate)
Project:
http:BL
Version:
5.x-2.1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
12 Sep 2009 at 11:53 UTC
Updated:
12 Sep 2009 at 12:07 UTC
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 commentedMarking as duplicate of #575482: No checks done when configured for anonymous users