From: James Procter Date: Wed, 10 Jan 2024 10:26:26 +0000 (+0000) Subject: JAL-4369 uniprotkb - try to avoid another redirect response X-Git-Url: http://source.jalview.org/gitweb/?p=jalview.git;a=commitdiff_plain;h=78ab9489fc08f66f7a11dc587c042bd4d0c64e54 JAL-4369 uniprotkb - try to avoid another redirect response --- diff --git a/src/jalview/ws/dbsources/Uniprot.java b/src/jalview/ws/dbsources/Uniprot.java index 3a4aaf8..299224d 100644 --- a/src/jalview/ws/dbsources/Uniprot.java +++ b/src/jalview/ws/dbsources/Uniprot.java @@ -144,7 +144,7 @@ public class Uniprot extends DbSourceProxyImpl "(UNIPROT\\|?|UNIPROT_|UNIREF\\d+_|UNIREF\\d+\\|?)", ""); AlignmentI al = null; - String downloadstring = getDomain() + "/uniprot/" + queries + ".xml"; + String downloadstring = getDomain() + "/uniprotkb/" + queries + ".xml"; URL url = new URL(downloadstring); HttpURLConnection urlconn = (HttpURLConnection) url.openConnection();