[tor-bugs] #27380 [Core Tor/Tor]: require torrc to be UTF-8

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Nov 7 09:24:26 UTC 2018


#27380: require torrc to be UTF-8
---------------------------------+------------------------------------
 Reporter:  cyberpunks           |          Owner:  (none)
     Type:  defect               |         Status:  needs_review
 Priority:  Medium               |      Milestone:  Tor: 0.3.6.x-final
Component:  Core Tor/Tor         |        Version:
 Severity:  Normal               |     Resolution:
 Keywords:  rust-wants, prop285  |  Actual Points:
Parent ID:  #24033               |         Points:
 Reviewer:  dgoulet              |        Sponsor:
---------------------------------+------------------------------------

Comment (by teor):

 Replying to [comment:20 dgoulet]:
 > Replying to [comment:19 teor]:
 > > When a non-ASCII username appears in a path on Windows, then the torrc
 won't be UTF-8.
 > > So I think there will only be one warning.
 >
 > Hmmm... From the branch I proposed above, tor would check the torrc for
 UTF-8 _before_ the Username is even looked at thus this will lead to a
 double warning?

 I can't find any code that checks if the Username is UTF-8. I don't think
 we need a username check for UTF-8.

 Do you mean the ContactInfo?

 Because I am talking about path to the Tor Browser directory, which can
 contain the username on Windows.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/27380#comment:21>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list