aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2018-06-01 17:58:20 +0000
committerWilliam Pitcock <nenolod@dereferenced.org>2018-06-06 16:27:14 +0000
commit1abf0f3b3e487110c097cc444f8febb66921f7ea (patch)
tree704b9903fe167e60cd9d26be031f5accd3fb010a /lib
parentaaa81d354000be56e3ea6709e0f39a2c93f04174 (diff)
downloadpleroma-1abf0f3b3e487110c097cc444f8febb66921f7ea.tar.gz
webfinger: use https as default fallback instead of http
realistically, all instances need to be on https anyway to properly federate with all software
Diffstat (limited to 'lib')
-rw-r--r--lib/pleroma/web/web_finger/web_finger.ex2
1 files changed, 1 insertions, 1 deletions
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 <-