[tor-bugs] #3679 [Torctl]: TorCtl Event Parsing Rewrite
Tor Bug Tracker & Wiki
torproject-admin at torproject.org
Sat Oct 8 22:03:43 UTC 2011
#3679: TorCtl Event Parsing Rewrite
-------------------------+--------------------------------------------------
Reporter: atagar | Owner:
Type: enhancement | Status: needs_review
Priority: normal | Milestone:
Component: Torctl | Version:
Keywords: | Parent:
Points: | Actualpoints:
-------------------------+--------------------------------------------------
Comment(by aagbsn):
I found a bug that might explain what's going on:
original code: (TorCtl.py:1367)
{{{
path_verb = path.strip().split(",")
path = []
for p in path_verb:
path.append(p.replace("~", "=").split("=")[0])
}}}
replacement code: (TorCtl.py:247)
{{{
if self.path:
self.path = [p.replace("~", "=").split("=")[0] for p in
self.path.split(",")]
}}}
See the missing 'strip()'? This might explain the BwAuthority issue
reported in #4015 (descriptors do not match)
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/3679#comment:8>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list