[tor-bugs] #1614 [EFF-HTTPS Everywhere]: list

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Tue Oct 19 11:55:25 UTC 2010


#1614: list
----------------------------------+-----------------------------------------
 Reporter:  bee                   |       Owner:  pde
     Type:  enhancement           |      Status:  new
 Priority:  trivial               |   Milestone:     
Component:  EFF-HTTPS Everywhere  |     Version:     
 Keywords:                        |      Parent:     
----------------------------------+-----------------------------------------

Comment(by bee):

 Hi!!!!!!!!!! Good morning!!!!!!!!!!!!!!!!!!!!!!!!!!!
 YEAH!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
 Yesterday in the late evening i updated the code and now did the upload of
 it!!!!!!!!!!
 Anyway, i hadn't the time to test it!!!! but i'm very sure it works like
 it was working before!!!!!!!!!!

 Same place!!! http://honeybeenet.altervista.org/fun/https-
 everywhere/HoneyEverywhere.tar.bz2
 but it also has the "diff" files!!!!!!!
 "HTTPSRules.diff" is the diff result between "HTTPSRules-or.js" (the
 original file) and "HTTPSRules.js" (the new file!!!!!)
 I also re-wrote some rules!!!!! "rules.diff" tells you the
 differences!!!!! So, you know how to update the rules (it's very easy!!!)
 to push them into the binary list/index!!!!!!!!!

 The only two things i really did are renaming "match_rule" to
 "match_host"!!! So, it keeps the backward compatibility!!! because the
 rules with a regexp in the "match_rule" field will have it ignored and
 they're indexed in a normal list (not in the binary list, but another
 list, so they do work!!!) and i added the javascript functions
 "rewrittenURI" because i noticed they have been added in the newest
 versions of HTTPS Everywhere!!!! (though i cannot use it, because i
 crashes firefox!!!!!)
 I also made some esthetic improvements!!!!!! yeah!! i'm that good!!!!!
 I replaced this ugly thing!!!
 {{{
 var match_rl = null;
 var dflt_off = null;
 if (xmlrules. at match_rule.length() > 0) match_rl = xmlrules. at match_rule;
 if (xmlrules. at default_off.length() > 0) dflt_off = xmlrules. at default_off;
 var ret = new RuleSet(xmlrules. at name, match_rl, dflt_off);
 }}}
 with this beauty honey bee's code!!!!!!!!!
 {{{
 var ret = new RuleSet(xmlrules. at name,
     xmlrules. at match_host.length()  > 0 ? xmlrules. at match_host  : null,
     xmlrules. at default_off.length() > 0 ? xmlrules. at default_off : null);
 }}}
 YEAH!!!!!! Test if everything works and merge the
 code!!!!!!!!!!!!!!!!!!!!!!
 SUPER!!!!!!!!!!!!

 ~bee!!!!!!!!

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


More information about the tor-bugs mailing list