[tor-bugs] #22795 [Core Tor/Tor]: torrc has an optional final newline
Tor Bug Tracker & Wiki
blackhole at torproject.org
Sun Jul 2 22:36:47 UTC 2017
#22795: torrc has an optional final newline
------------------------------+--------------------------------
Reporter: teor | Owner:
Type: defect | Status: new
Priority: Medium | Milestone: Tor: 0.3.2.x-final
Component: Core Tor/Tor | Version:
Severity: Normal | Keywords:
Actual Points: | Parent ID:
Points: 0.1 | Reviewer:
Sponsor: |
------------------------------+--------------------------------
doc/torrc_format.txt says that every line has to have a linefeed:
In https://gitweb.torproject.org/tor.git/tree/doc/torrc_format.txt#n33
But tor actually makes the final newline in the file optional.
Also, don't we allow CRLF as a line ending on Windows?
(Or did we never make that happen?)
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/22795>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list