Commit a17b6b3
committed
Fix FXVPN-412 (#213)
Fixes [FXVPN-412](https://mozilla-hub.atlassian.net/browse/FXVPN-412) -
Sites with custom locations are broken when the client and extension are
off if a browser level proxy setting exists. This patch modifies
`proxyAllReqsByDefault` to return true when:
1. the client is On and the Extension is Off (extState.bypassTunnel ==
true)
2. the Client is Off and the Extension is On
3. the Client _and_ extension are both on _and_ a browser level proxy
setting is present (we previously weren't removing the req listener when
a browser level proxy setting was present, thus bricking sites with
custom geolocation settings)1 parent c1098b1 commit a17b6b3
File tree
3 files changed
+8
-15
lines changed- src/background
- proxyHandler
3 files changed
+8
-15
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
27 | | - | |
28 | | - | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
| 64 | + | |
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | 86 | | |
95 | 87 | | |
96 | 88 | | |
| |||
132 | 124 | | |
133 | 125 | | |
134 | 126 | | |
135 | | - | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
136 | 130 | | |
137 | 131 | | |
138 | 132 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
95 | | - | |
| 95 | + | |
96 | 96 | | |
97 | 97 | | |
98 | | - | |
99 | 98 | | |
100 | 99 | | |
101 | 100 | | |
| |||
0 commit comments