From 1abf0f3b3e487110c097cc444f8febb66921f7ea Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Fri, 1 Jun 2018 17:58:20 +0000 Subject: [PATCH] webfinger: use https as default fallback instead of http realistically, all instances need to be on https anyway to properly federate with all software --- lib/pleroma/web/web_finger/web_finger.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pleroma/web/web_finger/web_finger.ex b/lib/pleroma/web/web_finger/web_finger.ex index 9c6f1cb68..0b417479d 100644 --- a/lib/pleroma/web/web_finger/web_finger.ex +++ b/lib/pleroma/web/web_finger/web_finger.ex @@ -253,7 +253,7 @@ defmodule Pleroma.Web.WebFinger do String.replace(template, "{uri}", URI.encode(account)) _ -> - "http://#{domain}/.well-known/webfinger?resource=acct:#{account}" + "https://#{domain}/.well-known/webfinger?resource=acct:#{account}" end with response <- -- 2.45.2