misc updates
This commit is contained in:
parent
3d08ee9451
commit
1088d74b46
@ -55,8 +55,8 @@ blacklist_files = make_list(domain_files)
|
|||||||
blacklist_cache = make_db(blacklist_files)
|
blacklist_cache = make_db(blacklist_files)
|
||||||
|
|
||||||
while True:
|
while True:
|
||||||
line = sys.stdin.readline().strip()
|
l = sys.stdin.readline().strip()
|
||||||
outline = urlparse(line).netloc
|
outline = urlparse(l).netloc
|
||||||
if line:
|
if line:
|
||||||
if compare(outline,blacklist_cache,blacklists):
|
if compare(outline,blacklist_cache,blacklists):
|
||||||
squid_response("OK")
|
squid_response("OK")
|
||||||
|
Loading…
Reference in New Issue
Block a user