JAL-3757 JAL-3689 Fixed checks for URLs by adding checks for https:// as well as...
[jalview.git] / src / jalview / bin / Jalview.java
index b1ea60b..3bc92ec 100755 (executable)
@@ -781,7 +781,7 @@ public class Jalview
 
       protocol = DataSourceType.FILE;
 
-      if (file.indexOf("http:") > -1)
+      if (HttpUtils.startsWithHttpOrHttps(file))
       {
         protocol = DataSourceType.URL;
       }