]> Skullheadx's Git Forge - surf.git/commitdiff
Request HTTPS by default instead of HTTP
authorQuentin Rameau <quinq@fifth.space>
Sun, 5 Jan 2025 11:01:37 +0000 (12:01 +0100)
committerQuentin Rameau <quinq@fifth.space>
Sun, 5 Jan 2025 11:02:38 +0000 (12:02 +0100)
This might be more reasonable privacy-wise in 2025.

surf.c

diff --git a/surf.c b/surf.c
index 18d65d7a0fffc113c6ddd2cd4be12f83841ceadf..ec74aa818b347cb1b482c3576024f2507de97f1b 100644 (file)
--- a/surf.c
+++ b/surf.c
@@ -579,7 +579,7 @@ loaduri(Client *c, const Arg *a)
                        url = g_strdup_printf("file://%s", path);
                        free(path);
                } else {
-                       url = g_strdup_printf("http://%s", uri);
+                       url = g_strdup_printf("https://%s", uri);
                }
                if (apath != uri)
                        free(apath);