[metrics-bugs] #30373 [Core Tor/sbws]: Most headers non-compliant with spec

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri May 3 03:25:59 UTC 2019


#30373: Most headers non-compliant with spec
-------------------------------+--------------------
     Reporter:  irl            |      Owner:  (none)
         Type:  defect         |     Status:  new
     Priority:  Medium         |  Milestone:
    Component:  Core Tor/sbws  |    Version:
     Severity:  Normal         |   Keywords:
Actual Points:                 |  Parent ID:
       Points:                 |   Reviewer:
      Sponsor:                 |
-------------------------------+--------------------
 `Keyword` is imported from dir-spec and

 {{{
 KeyValue ::= Keyword "=" Value
 Keyword = KeywordChar+
 KeywordChar ::= 'A' ... 'Z' | 'a' ... 'z' | '0' ... '9' | '-'
 }}}

 but... most headers have underscores in them.

 My parser wasn't strict enough to catch this the first time. ):

 I suggest this is fixed with a specification update to reflect reality
 rather than creating complexity we have to maintain forever parsing two
 sets of keys.

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


More information about the metrics-bugs mailing list