git://source.jalview.org
/
jalview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fe88522
)
JAL-4409 Allow more URI schemes (e.g. file) to be opened in Jalview
author
Ben Soares
<b.soares@dundee.ac.uk>
Wed, 29 May 2024 15:25:34 +0000
(16:25 +0100)
committer
Ben Soares
<b.soares@dundee.ac.uk>
Wed, 29 May 2024 15:25:34 +0000
(16:25 +0100)
src/jalview/bin/Commands.java
patch
|
blob
|
history
diff --git
a/src/jalview/bin/Commands.java
b/src/jalview/bin/Commands.java
index
eb81847
..
c4b532b
100644
(file)
--- 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())
{