From e32a5ade6bf19aca615f33b4664bbb6bcf4d2529 Mon Sep 17 00:00:00 2001 From: Ben Soares Date: Wed, 23 Sep 2020 23:41:36 +0100 Subject: [PATCH] JAL-3757 JAL-3689 Fixed checks for URLs by adding checks for https:// as well as http:// --- src/jalview/bin/Jalview.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jalview/bin/Jalview.java b/src/jalview/bin/Jalview.java index b1ea60b..3bc92ec 100755 --- a/src/jalview/bin/Jalview.java +++ b/src/jalview/bin/Jalview.java @@ -781,7 +781,7 @@ public class Jalview protocol = DataSourceType.FILE; - if (file.indexOf("http:") > -1) + if (HttpUtils.startsWithHttpOrHttps(file)) { protocol = DataSourceType.URL; } -- 1.7.10.2