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:
3d27869
)
JAL-3931 fix - escape % symbols after urlencoding
author
Jim Procter
<j.procter@dundee.ac.uk>
Fri, 11 Feb 2022 17:09:04 +0000
(17:09 +0000)
committer
Jim Procter
<j.procter@dundee.ac.uk>
Fri, 11 Feb 2022 17:09:04 +0000
(17:09 +0000)
src/jalview/gui/StructureViewerBase.java
patch
|
blob
|
history
diff --git
a/src/jalview/gui/StructureViewerBase.java
b/src/jalview/gui/StructureViewerBase.java
index
ae2128b
..
8ac23ef
100644
(file)
--- a/
src/jalview/gui/StructureViewerBase.java
+++ b/
src/jalview/gui/StructureViewerBase.java
@@
-1160,7
+1160,7
@@
public abstract class StructureViewerBase extends GStructureViewer
} else {
if (processingEntry.hasRetrievalUrl())
{
- String safePDBId = java.net.URLEncoder.encode(pdbid,"UTF-8");
+ String safePDBId = java.net.URLEncoder.encode(pdbid,"UTF-8").replace("%","__");
// retrieve from URL to new local tmpfile
File tmpFile = File.createTempFile(safePDBId,