[tor-bugs] #1101 [Tor Client]: getinfo config-file doesn't handle relative paths well
Tor Bug Tracker & Wiki
torproject-admin at torproject.org
Wed Dec 7 16:14:11 UTC 2011
#1101: getinfo config-file doesn't handle relative paths well
--------------------------------+-------------------------------------------
Reporter: arma | Type: defect
Status: new | 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 krkhan):
Replying to [comment:7 nickm]:
> Hm. Why not prepend CWD to paths that start with "." ? After all,
"./torrc" isn't an absolute path.
Because the name might start with "..". Something like "../xyz/torrc".
Although yes, "./" should perhaps be CWD'ed as well.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/1101#comment:8>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list