Opened 4 months ago

Closed 5 weeks ago

#22795 closed defect (fixed)

torrc has an optional final newline

Reported by: teor Owned by:
Priority: Medium Milestone: Tor: 0.3.2.x-final
Component: Core Tor/Tor Version:
Severity: Normal Keywords:
Cc: Actual Points:
Parent ID: Points: 0.1
Reviewer: Sponsor:

Description

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?)

Child Tickets

Change History (1)

comment:1 Changed 5 weeks ago by nickm

Resolution: fixed
Status: newclosed

9c27f56cd9537d fixes this.

Note: See TracTickets for help on using tickets.