NanoGoat
[org.ibex.core.git] / src / org / ibex / Platform.java
index c3bba86..4b110a6 100644 (file)
@@ -229,6 +229,8 @@ public abstract class Platform {
             return;
         }
         // check the URL for well-formedness, as a defense against buffer overflow attacks
+        // FIXME check URL without using URL class
+        /*
         try {
             String u = url;
             if (u.startsWith("https")) u = "http" + u.substring(5);
@@ -237,6 +239,7 @@ public abstract class Platform {
             Log.info(Platform.class, "URL " + url + " is not well-formed");
             Log.info(Platform.class, e);
         }
+        */
         Log.info(Platform.class, "newBrowserWindow, url = " + url);
         platform._newBrowserWindow(url);
     }