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:
a00010a
)
JAL-3757 JAL-3689 Fixed checks for URLs by adding checks for https:// as well as...
author
Ben Soares
<b.soares@dundee.ac.uk>
Wed, 23 Sep 2020 22:41:36 +0000
(23:41 +0100)
committer
Ben Soares
<b.soares@dundee.ac.uk>
Fri, 13 Nov 2020 19:58:38 +0000
(19:58 +0000)
src/jalview/bin/Jalview.java
patch
|
blob
|
history
diff --git
a/src/jalview/bin/Jalview.java
b/src/jalview/bin/Jalview.java
index
b1ea60b
..
3bc92ec
100755
(executable)
--- 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;
}