Skip to content

Commit

Permalink
Fix FoxyProxy warning described in issue #8 (#42)
Browse files Browse the repository at this point in the history
* Fix FoxyProxy warning described in issue #8

I don't know why this works since I don't know how to debug inside foxyproxy. However it seems that url and host are not actually string type, so everything looks like abnormal. Converting them into strings will kill those warnings.

* Restored nowall_proxy line
  • Loading branch information
myly10 authored and breakwa11 committed Dec 3, 2016
1 parent 2e8bde0 commit a9c6e88
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions whitelist.pac
Expand Up @@ -9683,6 +9683,8 @@ function isInDomains(domain_dict, host) {
}
}
function FindProxyForURL(url, host) {
url=""+url;
host=""+host;
if ( isPlainHostName(host) === true ) {
return direct;
}
Expand Down

0 comments on commit a9c6e88

Please sign in to comment.