#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
_______________________________________________ tor-bugs mailing list tor-bugs@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs