[tor-bugs] #3776 [EFF-HTTPS Everywhere]: Please provide a single-checkbox mechanism to enable CACert rules (and other categories of rules)
Tor Bug Tracker & Wiki
torproject-admin at torproject.org
Sat Apr 21 18:50:57 UTC 2012
#3776: Please provide a single-checkbox mechanism to enable CACert rules (and
other categories of rules)
----------------------------------+-----------------------------------------
Reporter: josh | Owner: pde
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: EFF-HTTPS Everywhere | Version:
Keywords: | Parent:
Points: | Actualpoints:
----------------------------------+-----------------------------------------
Comment(by pde):
There is now a one-line place to make this change in the source code.
Perhaps this could also be controlled by an about:config variable, if
anyone is excited enough to write a patch. The variable should probably
be absent/empty by default, and it should preserve the nice clean spot in
the source where package maintainers (like Debian downstream) can patch
this in their builds.
`diff --git a/src/chrome/content/code/HTTPSRules.js
b/src/chrome/content/code/HTTPSRules.jsindex e3eed81..8a6b21b 100644---
a/src/chrome/content/code/HTTPSRules.js+++
b/src/chrome/content/code/HTTPSRules.js@@ -16,7 +16,7 @@ function
CookieRule(host, cookiename) { this.name_c = new RegExp(cookiename);
}-localPlatformRegexp = new RegExp("firefox");+localPlatformRegexp = new
RegExp("firefox|cacert"); ruleset_counter = 0; function RuleSet(name,
xmlName, match_rule, default_off, platform) { this.id="httpseR" +
ruleset_counter;`
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/3776#comment:2>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list