2002/07/16 00:39:22
[org.ibex.core.git] / src / org / xwt / HTTP.java
index 03fc997..64cfdba 100644 (file)
@@ -93,6 +93,9 @@ public class HTTP {
 
         if (Log.on) Log.log(this, "  resolveAndCheckIfFirewalled: resolving " + host);
 
+        // if all scripts are trustworthy (local FS), continue
+        if (Main.originAddr == null) return;
+
         // resolve using DNS
         try {
             InetAddress addr = InetAddress.getByName(host);