[tor-bugs] #31737 [Core Tor/Tor]: Change handling of relative paths in %include directives?
Tor Bug Tracker & Wiki
blackhole at torproject.org
Mon Sep 16 05:04:52 UTC 2019
#31737: Change handling of relative paths in %include directives?
--------------------------+----------------------------------
Reporter: nickm | Owner: (none)
Type: task | Status: new
Priority: Medium | Milestone: Tor: unspecified
Component: Core Tor/Tor | Version:
Severity: Normal | Resolution:
Keywords: | Actual Points:
Parent ID: | Points: 1
Reviewer: | Sponsor:
--------------------------+----------------------------------
Comment (by teor):
Replying to [ticket:31737 nickm]:
> Right now, relative paths in %include directives are handled relative to
Tor's working directory, which doesn't make a lot of sense. Handling them
relative to the configuration file might make more sense?
>
> We'd want to figure out a way to handle this that won't break existing
users.
Try relative to the cwd first, and then try relative to the config file
containing the %include directive?
We could also deprecate cwd-relative paths, and warn when they are used.
And then eventually remove them.
If we wanted a simpler change, we could just deprecate and warn on any
relative path.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/31737#comment:1>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list