[tor-bugs] #6484 [EFF-HTTPS Everywhere]: host=*.domain wildcarding broken

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Thu Aug 2 23:53:13 UTC 2012


#6484: host=*.domain wildcarding broken
----------------------------------+-----------------------------------------
 Reporter:  grarpamp              |          Owner:  pde
     Type:  defect                |         Status:  new
 Priority:  normal                |      Milestone:     
Component:  EFF-HTTPS Everywhere  |        Version:     
 Keywords:                        |         Parent:     
   Points:                        |   Actualpoints:     
----------------------------------+-----------------------------------------

Comment(by pde):

 Do you have an example of a ruleset where this is broken?

 Note that the <target host> elements in the rulesets are /not/ regular
 expressions.  They have to be static strings so that they can be looked up
 efficiently in a hash table.  The code that processes them is here:

 https://gitweb.torproject.org/https-
 everywhere.git/blob/HEAD:/src/chrome/content/code/HTTPSRules.js#l504

 the targets data structure is mostly created here:

 https://gitweb.torproject.org/https-
 everywhere.git/blob/HEAD:/src/chrome/content/code/HTTPSRules.js#l309

 The Chromium code is similar, IIRC.

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


More information about the tor-bugs mailing list