From: William Pitcock Date: Fri, 1 Jun 2018 17:58:20 +0000 (+0000) Subject: webfinger: use https as default fallback instead of http X-Git-Url: http://git.squeep.com/?a=commitdiff_plain;h=1abf0f3b3e487110c097cc444f8febb66921f7ea;p=akkoma webfinger: use https as default fallback instead of http realistically, all instances need to be on https anyway to properly federate with all software --- 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 <-