Skip to content

Commit 0a56370

Browse files
committed
Support a new "mixedcontent" platform to start responding to havoc on Chrome
We will need this for https://trac.torproject.org/projects/tor/ticket/6975
1 parent 7164345 commit 0a56370

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

chromium/manifest.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,6 @@
3333
"cookies",
3434
"<all_urls>"
3535
],
36-
"update_url": "https://www.eff.org/files/https-everywhere-chrome-updates.xml",
37-
"version": "2012.9.21"
38-
}
36+
"update_url": "https://www.eff.org/files/https-everywhere-chrome-updates.xml",
37+
"version": "2012.9.25"
38+
}

src/chrome/content/code/HTTPSRules.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ function CookieRule(host, cookiename) {
1616
this.name_c = new RegExp(cookiename);
1717
}
1818

19-
localPlatformRegexp = new RegExp("firefox");
19+
localPlatformRegexp = new RegExp("(firefox|mixedcontent)");
2020
ruleset_counter = 0;
2121
function RuleSet(name, xmlName, match_rule, default_off, platform) {
2222
this.id="httpseR" + ruleset_counter;

utils/relaxng.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<optional>
1313
<attribute name="platform">
1414
<data type="string">
15-
<param name="pattern">(firefox|chromium|cacert|ipsca)( (firefox|chromium|cacert|ipsca))*</param>
15+
<param name="pattern">(firefox|chromium|cacert|ipsca|mixedcontent)( (firefox|chromium|cacert|ipsca|mixedcontent))*</param>
1616
</data>
1717
</attribute>
1818
</optional>

0 commit comments

Comments
 (0)