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:
20f9fe1
)
JAL-1678 - patch to make sure we only compare positions of the last / or ?
author
Jim Procter
<jprocter@dundee.ac.uk>
Fri, 27 Feb 2015 17:01:08 +0000
(17:01 +0000)
committer
Jim Procter
<jprocter@dundee.ac.uk>
Fri, 27 Feb 2015 17:01:08 +0000
(17:01 +0000)
src/jalview/appletgui/AlignFrame.java
patch
|
blob
|
history
diff --git
a/src/jalview/appletgui/AlignFrame.java
b/src/jalview/appletgui/AlignFrame.java
index
e84c335
..
7afe1fa
100644
(file)
--- a/
src/jalview/appletgui/AlignFrame.java
+++ b/
src/jalview/appletgui/AlignFrame.java
@@
-1281,7
+1281,8
@@
public class AlignFrame extends EmbmenuFrame implements ActionListener,
StringBuffer url = new StringBuffer(jalviewServletURL);
// allow servlet parameters to be passed in applet parameter
- String firstSep = url.indexOf("?") > url.indexOf("/") ? "&" : "?";
+ String firstSep = url.lastIndexOf("?") > url.lastIndexOf("/") ? "&"
+ : "?";
url.append(firstSep);
url.append("open="