Skip to content

Commit

Permalink
Merge pull request #3389 from getlantern/issue3388
Browse files Browse the repository at this point in the history
return DIRECT for non-HTTP url in PAC
  • Loading branch information
myleshorton committed Jan 6, 2016
2 parents da0ed9c + f1ba2ef commit 97274bd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/github.com/getlantern/flashlight/pac.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,10 @@ func genPACFile() {
return "DIRECT";
}
}
// Lantern desktop version proxies only http and https
if (url.substring(0, 4) != 'http') {
return "DIRECT";
}
for (var d in bypassDomains) {
if (host == bypassDomains[d]) {
return "DIRECT";
Expand Down

0 comments on commit 97274bd

Please sign in to comment.