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

(http does almost not exist any more)
This commit is contained in:
Michael Peter Christen 2024-05-27 00:53:18 +02:00
parent 71a6074cc5
commit 70454654f3

View File

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