From 5a9cb62d3054a07ad1233b13595e19266b3cc627 Mon Sep 17 00:00:00 2001 From: Ben Soares Date: Wed, 29 May 2024 16:25:34 +0100 Subject: [PATCH] JAL-4409 Allow more URI schemes (e.g. file) to be opened in Jalview --- src/jalview/bin/Commands.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jalview/bin/Commands.java b/src/jalview/bin/Commands.java index eb81847..c4b532b 100644 --- a/src/jalview/bin/Commands.java +++ b/src/jalview/bin/Commands.java @@ -270,7 +270,7 @@ public class Commands * @j2sIgnore */ { - if (!HttpUtils.startsWithHttpOrHttps(openFile)) + if (!HttpUtils.isPlausibleUri(openFile)) { if (!(new File(openFile)).exists()) { -- 1.7.10.2