Skip to content

Commit 58bad3e

Browse files
federicopde
authored andcommitted
Fix a bug that was causing settings to not persist
https://trac.torproject.org/projects/tor/ticket/6653
1 parent 5898d63 commit 58bad3e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/chrome/content/code/HTTPSRules.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -416,9 +416,10 @@ const HTTPSRules = {
416416
"YouMail (buggy)","StudiVZ (disabled)","Woot (broken)"];
417417

418418
var nonBuggy = 0;
419-
for (rulename in shouldBeOff) {
419+
for (var ruleindex in shouldBeOff) {
420420
// Some of these shouldBeOff rules may be removed in the future, so
421421
// tolerate their absence
422+
var rulename = shouldBeOff[ruleindex];
422423
if (rulename in this.rulesetsByName) {
423424
if (!this.rulesetsByName[rulename].active)
424425
nonBuggy += 1;

0 commit comments

Comments
 (0)