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

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Dec 14 01:55:49 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   |     Resolution:
 Keywords:  easy    |  Actual Points:
Parent ID:          |         Points:
  Sponsor:          |
--------------------+------------------------------------

Comment (by teor):

 I wonder if this happens because we have code that says something like:
 {{{
 tor_log_warn("Couldn't parse address '%s' for ORPort", escaped(s));
 }}}

 Where the message adds the `''` quotes, and escaped() adds the `""`
 quotes.

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


More information about the tor-bugs mailing list