From 70454654f367f3405043937107475526af02ae46 Mon Sep 17 00:00:00 2001 From: Michael Peter Christen Date: Mon, 27 May 2024 00:53:18 +0200 Subject: [PATCH] by default open the https url for a given host, not the http url (http does almost not exist any more) --- source/net/yacy/htroot/IndexBrowser_p.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/net/yacy/htroot/IndexBrowser_p.java b/source/net/yacy/htroot/IndexBrowser_p.java index 0751912bd..08a7d950e 100644 --- a/source/net/yacy/htroot/IndexBrowser_p.java +++ b/source/net/yacy/htroot/IndexBrowser_p.java @@ -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);