[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #3698 [Core Tor/Tor]: Multi-line torrc options conflict with Windows paths
#3698: Multi-line torrc options conflict with Windows paths
-------------------------------------+----------------------------------
Reporter: karsten | Owner: Jigsaw52
Type: defect | Status: assigned
Priority: Low | Milestone: Tor: unspecified
Component: Core Tor/Tor | Version:
Severity: Normal | Resolution:
Keywords: windows tor-relay torrc | Actual Points:
Parent ID: | Points:
Reviewer: | Sponsor:
-------------------------------------+----------------------------------
Changes (by Jigsaw52):
* keywords: windows tor-relay => windows tor-relay torrc
* owner: => Jigsaw52
* status: new => assigned
* severity: => Normal
* cc: danielpinto52@… (added)
Comment:
I ran into a problem similar to this while implementing #1922.
Currently there are two syntaxes for configuration values on torrc:
- values enclosed by double quotes are read as C escaped strings
- values not enclosed by quotes are read as is and a backslash can be
used as a line continuation character
Neither are good for Windows paths ending with a backslash and those are
useful because they provide an easy way to tell the path is a directory.
I thought of adding a third syntax: values enclosed in single quotes would
be read as it is, without any escaping. The changes needed to support this
are fairly simple and I do not think this would break any existing torrc.
What do you guys think?
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/3698#comment:8>
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