[tor-bugs] #22723 [Core Tor/Tor]: Avoid double-quoting esc_for_log output

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Jul 6 19:06:08 UTC 2017


#22723: Avoid double-quoting esc_for_log output
--------------------------------+------------------------------------
 Reporter:  teor                |          Owner:
     Type:  defect              |         Status:  new
 Priority:  Medium              |      Milestone:  Tor: unspecified
Component:  Core Tor/Tor        |        Version:  Tor: 0.3.1.1-alpha
 Severity:  Normal              |     Resolution:
 Keywords:  easy log annoyance  |  Actual Points:
Parent ID:                      |         Points:  0.5
 Reviewer:                      |        Sponsor:
--------------------------------+------------------------------------
Changes (by nickm):

 * keywords:  easy log => easy log annoyance


Comment:

 Here's an easy way to find some of these these.  Run this command:
 {{{
 git grep -A4 '\\"%s\\"'
 }}}

 It will give you the next 4 lines after every place where we have the
 string `\"%s\"` in the code.  Then search that output for use of "escaped"
 or "esc_for_log".

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


More information about the tor-bugs mailing list