[tor-bugs] #6172 [Tor Client]: GETCONF responses must be quoted

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Fri Jun 15 15:12:30 UTC 2012


#6172: GETCONF responses must be quoted
------------------------+---------------------------------------------------
 Reporter:  neena       |          Owner:                  
     Type:  defect      |         Status:  new             
 Priority:  normal      |      Milestone:                  
Component:  Tor Client  |        Version:  Tor: unspecified
 Keywords:              |         Parent:                  
   Points:              |   Actualpoints:                  
------------------------+---------------------------------------------------
 The control spec says

 {{{
  264   Value may be a raw value or a quoted string.  Tor will try to use
  265   unquoted values except when the value could be misinterpreted
 through
  266   not being quoted.
 }}}
     here https://gitweb.torproject.org/torspec.git/blob/master:/control-
 spec.txt#l264


 GETCONF returns values which seperated by spaces without quoting them
 (this would be something that could be misinterpreted). Tor should respond
 with quoted values.

 Ex:

 {{{
 getconf log
 250 Log=notice stdout
 }}}

 should be

 {{{
 getconf log
 250 Log="notice stdout"
 }}}

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


More information about the tor-bugs mailing list