Merge branch 'update/JAL-3949_jalview_bin_Console_to_cure_sanity_even_more' into...
[jalview.git] / src / jalview / gui / StructureViewerBase.java
index 8290dd9..349871d 100644 (file)
@@ -1161,7 +1161,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,