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)
|
||||
|
||||
while True:
|
||||
line = sys.stdin.readline().strip()
|
||||
outline = urlparse(line).netloc
|
||||
l = sys.stdin.readline().strip()
|
||||
outline = urlparse(l).netloc
|
||||
if line:
|
||||
if compare(outline,blacklist_cache,blacklists):
|
||||
squid_response("OK")
|
||||
|
Loading…
Reference in New Issue
Block a user