[tor-bugs] #6708 [pyonionoo]: Pyonionoo returns code 500 for a few parameters

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Tue Sep 25 02:34:09 UTC 2012


#6708: Pyonionoo returns code 500 for a few parameters
-----------------------+----------------------------------------------------
 Reporter:  karsten    |          Owner:  gsathya     
     Type:  defect     |         Status:  needs_review
 Priority:  normal     |      Milestone:              
Component:  pyonionoo  |        Version:              
 Keywords:             |         Parent:              
   Points:             |   Actualpoints:              
-----------------------+----------------------------------------------------
Changes (by karsten):

  * status:  needs_information => needs_review


Comment:

 Replying to [comment:12 gsathya]:
 > What exactly is the bug here? Can you tell me how to reproduce it?

 The bug is that the parser doesn't handle bridges without any flags
 correctly.  An example line is:

 {{{
 b Unnamed 1D36547129EF6399E487ED359B32AA7ECBCD43FC 10.157.98.209;;
 2012-09-18 01:37:03 443 0  -1 ?? null -1 null null
 }}}

 Note that two space characters between 0 and -1.  That's where the missing
 flags would go.

 > Also, you're using the {{{split()}}} method but the commit message talks
 about {{{strip()}}} method, you might want to change that.

 Fixed the commit message and pushed to the same branch.

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/6708#comment:13>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list