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

[tor-bugs] #28311 [Core Tor/Tor]: Do ~ expansion on tor's configured paths



#28311: Do ~ expansion on tor's configured paths
------------------------------+------------------------------
     Reporter:  teor          |      Owner:  (none)
         Type:  enhancement   |     Status:  new
     Priority:  Medium        |  Milestone:  Tor: unspecified
    Component:  Core Tor/Tor  |    Version:
     Severity:  Normal        |   Keywords:
Actual Points:                |  Parent ID:  #28298
       Points:                |   Reviewer:
      Sponsor:                |
------------------------------+------------------------------
 Split off #28298:

 Replying to [comment:4 arma]:
 > Ok, that above fix is bad, because it will complain when you set
 DataDirectory to e.g. {{{~/.test}}} -- which is actually an absolute path,
 even if it doesn't start with {{{/}}}.

 "~" expansion is not universal: it only works in some shells, some
 languages, and some applications.

 In particular, "~" expansion is not a documented feature of
 path_is_relative() or make_path_absolute(). We can add it as a feature if
 you want.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/28311>
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