[tor-bugs] #2965 [Vidalia]: Vidalia parameter handling improvements (includes PATCH)

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Wed Apr 20 22:10:24 UTC 2011


#2965: Vidalia parameter handling improvements (includes PATCH)
-------------------------+--------------------------------------------------
 Reporter:  jrklein      |          Owner:  chiiph        
     Type:  enhancement  |         Status:  new           
 Priority:  normal       |      Milestone:                
Component:  Vidalia      |        Version:  Vidalia 0.2.10
 Keywords:               |         Parent:                
   Points:               |   Actualpoints:                
-------------------------+--------------------------------------------------
 Vidalia ignores parameters and values that are separated by an equal sign.
 (ie: Vidalia --datadir=data --logfile=log)

 Attached patch updates parseArguments() to support keys and values
 separated by equal sign.


 Vidalia does not reject parameters that should include a value.
 (ie: Vidalia --datadir --logfile)

 Attached patch calls argNeedsValue() from validateArguments() to determine
 if value is required.  Vidalia notifies user if required parameter value
 is missing.

 NOTE: validateArguments() was static, so could not call argNeedsValue().
 No longer static.  If function needs to be static, could pass an instance
 of Vidalia as a function parameter instead.

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


More information about the tor-bugs mailing list