# HG changeset patch # User Jiri Vanek # Date 1545128206 -3600 # Node ID fa507388eea51fee70a3aac90134e42cafb99b26 # Parent 19467a2f1f255aa736f5af2658de5b5cf38f4953 https is preffered only on default port * netx/net/sourceforge/jnlp/cache/ResourceUrlCreator.java: (getUrls) when http protocol-ed url have set port its https clone is not put to the list of possible urls diff -r 19467a2f1f25 -r fa507388eea5 ChangeLog --- a/ChangeLog Tue Dec 18 11:16:10 2018 +0100 +++ b/ChangeLog Tue Dec 18 11:16:46 2018 +0100 @@ -1,3 +1,9 @@ +2018-11-27 Jiri Vanek + + https is preffered only on default port + * netx/net/sourceforge/jnlp/cache/ResourceUrlCreator.java: (getUrls) when http protocol-ed url have set port + its https clone is not put to the list of possible urls + 2018-11-27 Jiri Vanek PR3645, second part - following windows system paths correctly diff -r 19467a2f1f25 -r fa507388eea5 netx/net/sourceforge/jnlp/cache/ResourceUrlCreator.java --- a/netx/net/sourceforge/jnlp/cache/ResourceUrlCreator.java Tue Dec 18 11:16:10 2018 +0100 +++ b/netx/net/sourceforge/jnlp/cache/ResourceUrlCreator.java Tue Dec 18 11:16:46 2018 +0100 @@ -102,7 +102,7 @@ //preffering https and owerriding case, when applciation was moved to https, but the jnlp stayed intacted List urlsCopy = new LinkedList<>(urls); for (URL u : urlsCopy) { - if (u.getProtocol().equals("http")) { + if (u.getProtocol().equals("http") && u.getPort() < 0) { try { urls.add(0, copyUrltoHttps(u)); } catch (Exception ex) {