[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-bugs] #1101 [Tor Client]: getinfo config-file doesn't handle relative paths well



#1101: getinfo config-file doesn't handle relative paths well
--------------------------------+-------------------------------------------
 Reporter:  arma                |           Type:  defect    
   Status:  needs_review        |       Priority:  major     
Milestone:  Tor: 0.2.3.x-final  |      Component:  Tor Client
  Version:  0.2.1.19            |     Resolution:  None      
 Keywords:  easy                |         Parent:            
   Points:                      |   Actualpoints:            
--------------------------------+-------------------------------------------

Comment(by rransom):

 Replying to [comment:11 nickm]:
 > Looking better.  Do we care about stuff like the case where CWD ends
 with a / ?  I say no.

 Yes, we do care.  (We could be running in `/` .)  Fortunately, the Tcl 8.5
 `filename(n)` man page says: Multiple adjacent slash characters are
 interpreted as a single separator.  (If we're lucky, that's even part of a
 Unixoid standard.)

 > Also, on windows, [http://msdn.microsoft.com/en-us/library/506720ff.aspx
 _fullpath] seems pretty promising.

 I've heard of that function (from Shondoit).  I suppose I should read that
 function's documentation and use it.

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/1101#comment:12>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs