[tor-bugs] #25729 [- Select a component]: UTF8 encoded TORRC does NOT parse non-Latin paths

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Apr 6 11:00:37 UTC 2018


#25729: UTF8 encoded TORRC does NOT parse non-Latin paths
--------------------------------------+---------------------------
     Reporter:  Fleming               |      Owner:  (none)
         Type:  defect                |     Status:  new
     Priority:  Medium                |  Milestone:
    Component:  - Select a component  |    Version:  Tor: 0.3.2.10
     Severity:  Normal                |   Keywords:
Actual Points:                        |  Parent ID:
       Points:                        |   Reviewer:
      Sponsor:                        |
--------------------------------------+---------------------------
 Unpack [https://linx.li/selif/tor-utf8-fails.7z this Tor archive] to C:\

 It will create the following hierarchy:
 ''C:\Проверка\Tor'' (for executables, libraries and torrc)
 ''C:\Проверка\Tor\Data'' (for data and geoip)

 Configuration file, torrc, is encoded UTF8.
 It has this line: ''DataDirectory C:\Проверка\Tor\Data''

 If I run tor.exe -f torrc, the output as follows
 ''[warn] Error creating directory C:\Проверка\Tor\Data: No such file or
 directory
 [warn] Failed to parse/validate config: Couldn't create private data
 directory "C:\Проверка\Tor\Data"''

 Now let’s replace UTF8 encoded torrc with [https://linx.li/selif/torrc-
 ansi.7z ANSI encoded torrc] and Tor works as expected.

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


More information about the tor-bugs mailing list