by default open the https url for a given host, not the http url

(http does almost not exist any more)
pull/649/head
Michael Peter Christen 6 months ago
parent 71a6074cc5
commit 70454654f3

@ -156,7 +156,7 @@ public class IndexBrowser_p {
!path.startsWith("https://") && !path.startsWith("https://") &&
!path.startsWith("ftp://") && !path.startsWith("ftp://") &&
!path.startsWith("smb://") && !path.startsWith("smb://") &&
!path.startsWith("file://"))) { path = "http://" + path; } !path.startsWith("file://"))) { path = "https://" + path; }
prop.putHTML("path", path); prop.putHTML("path", path);
prop.put("delete", path.length() > 0 ? 1 : 0); prop.put("delete", path.length() > 0 ? 1 : 0);

Loading…
Cancel
Save