[tor-bugs] #10241 [HTTPS Everywhere: Chrome]: bunch of ruleset bugs

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Nov 27 06:06:16 UTC 2013


#10241: bunch of ruleset bugs
--------------------------------------+---------------------
 Reporter:  cypherpunks               |          Owner:  pde
     Type:  defect                    |         Status:  new
 Priority:  normal                    |      Milestone:
Component:  HTTPS Everywhere: Chrome  |        Version:
 Keywords:                            |  Actual Points:
Parent ID:                            |         Points:
--------------------------------------+---------------------
 This is based on the ruleset in the Chrome extension based on a recent git
 checkout.

 <rule from="http://(leap3\.|www\.)?singlehop\.com/"
 to="https://$1.singlehop.com/"/>

 the to rule should not have a dot (or move the dot outside the capture)

 --

 <rule from="!^!http://(?:www\.)?mystockoptions\.com/"
 to="https://$1mystockoptions.com/"/>

 the group should be capturing for $1 to work (www\.)

 ---

 <rule from="!^!http://(www\.)?tunisia-sat\.com(\.tn)?/" to="https
 ://$1tunisia-sat.com$1/"/>

 The last part should be $2

 ----

 <rule from="!^!http://(www\.)?vn5socks\.com/"
 to="https://$1.vn5socks.com/"/>

 No dot in the replacement since $1 already captures the dot

 ---

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


More information about the tor-bugs mailing list