From a9c6e883dca5af5134fbdc9f595bf77f7e44fcb5 Mon Sep 17 00:00:00 2001 From: Yang Liu Date: Sun, 4 Dec 2016 02:23:20 +0800 Subject: [PATCH] Fix FoxyProxy warning described in issue #8 (#42) * 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 --- whitelist.pac | 2 ++ 1 file changed, 2 insertions(+) diff --git a/whitelist.pac b/whitelist.pac index e25189c..430c468 100644 --- a/whitelist.pac +++ b/whitelist.pac @@ -9683,6 +9683,8 @@ function isInDomains(domain_dict, host) { } } function FindProxyForURL(url, host) { + url=""+url; + host=""+host; if ( isPlainHostName(host) === true ) { return direct; }