[tor-bugs] #17843 [Tor]: Confusing double-quotes in config parse failure message

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Dec 14 00:36:12 UTC 2015


#17843: Confusing double-quotes in config parse failure message
------------------------+--------------------------------
     Reporter:  arma    |      Owner:
         Type:  defect  |     Status:  new
     Priority:  Low     |  Milestone:  Tor: 0.2.8.x-final
    Component:  Tor     |    Version:
     Severity:  Minor   |   Keywords:  easy
Actual Points:          |  Parent ID:
       Points:          |    Sponsor:
------------------------+--------------------------------
 Put
 {{{
 orport 1755800511a:443
 }}}
 in your torrc and then try to start Tor. You (rightly) get an error:
 {{{
 Dec 13 19:19:48.438 [warn] Couldn't parse address '"1755800511a:443"' for
 ORPort
 }}}

 But what is with the '"%s"' there? Shouldn't it just be quoted once, not
 twice in some weird nested way?

 Encountered while trying to help a user debug his torrc, and the extra
 layer of "" made me think he was adding it explicitly somehow.

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


More information about the tor-bugs mailing list