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

[tor-bugs] #22795 [Core Tor/Tor]: torrc has an optional final newline



#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs