Commit 0028d5f7 authored by anonym's avatar anonym
Browse files

tor-controlport-filter: revive actually helpful linebreak. :)

parent 42bb0367
......@@ -224,6 +224,7 @@ def handle_controlport_session(controller, readh, writeh, allowed_commands, allo
# This regex makes us split on unquoted whitespaces.
cmd, *args = re.findall(r'(?:[^\s,"]|"(?:\\.|[^"])*")+', line)
cmd = cmd.upper()
if cmd == "PROTOCOLINFO":
# Stem call PROTOCOLINFO before authenticating. Tell the
# client that there is no authentication.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment