Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

by default open the https url for a given host, not the http url (http does almost not exist any more)

Michael Peter Christen70454654f367
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);