fixed proxy exclusion-list bug
authoradam <adam@megacz.com>
Sat, 31 Jan 2004 10:58:10 +0000 (10:58 +0000)
committeradam <adam@megacz.com>
Sat, 31 Jan 2004 10:58:10 +0000 (10:58 +0000)
darcs-hash:20040131105810-5007d-3411f5377d794a60b8d369ab4c622fad727911ae.gz

src/org/xwt/HTTP.java

index 427fc70..681b928 100644 (file)
@@ -657,7 +657,7 @@ public class HTTP {
         public int httpsProxyPort = -1;
         public String socksProxyHost = null;                 ///< the SOCKS Proxy Host to use
         public int socksProxyPort = -1;                      ///< the SOCKS Proxy Port to use
-        public String[] excluded = null;                     ///< hosts to be excluded from proxy use; wildcards permitted
+        public String[] excluded = new String[] { };         ///< hosts to be excluded from proxy use; wildcards permitted
         public JS proxyAutoConfigFunction = null;  ///< the PAC script
     
         public static Proxy detectProxyViaManual() {