Re: [tor-bugs] #31737 [Core Tor/Tor]: Change handling of relative paths in %include directives?

2019-09-15 Thread Tor Bug Tracker & Wiki
#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: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

[tor-bugs] #31737 [Core Tor/Tor]: Change handling of relative paths in %include directives?

2019-09-13 Thread Tor Bug Tracker & Wiki
#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|   Keywords:
Actual Points:|  Parent ID:
   Points:  1 |   Reviewer:
  Sponsor:|
--+--
 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.

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs