Skip to content

Commit

Permalink
Map legacy URLs before opening connection input stream
Browse files Browse the repository at this point in the history
  • Loading branch information
jrobinso committed Jul 25, 2024
1 parent 0072026 commit 735d626
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main/java/org/broad/igv/util/HttpUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -345,6 +345,9 @@ public String doPost(URL url, Map<String, String> params) throws IOException {
* @throws IOException
*/
public InputStream openConnectionStream(URL url) throws IOException {

url = new URL(mapURL(url.toExternalForm()));

log.debug("Opening connection stream to " + url);
if (url.getProtocol().toLowerCase().equals("ftp")) {
String userInfo = url.getUserInfo();
Expand Down

0 comments on commit 735d626

Please sign in to comment.