diff options
author | William Pitcock <nenolod@dereferenced.org> | 2018-05-21 19:19:40 +0000 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2018-05-21 19:22:30 +0000 |
commit | 9a2d097ed822721959d0977a76a45d1f358446b8 (patch) | |
tree | a71351ad06cd3dd87d0d2fa3b90897de4873fb3c | |
parent | d269c69a0b315f4767efbed3da781b04e9614c5d (diff) | |
download | pleroma-9a2d097ed822721959d0977a76a45d1f358446b8.tar.gz pleroma-9a2d097ed822721959d0977a76a45d1f358446b8.zip |
activitypub controller: note that the HTTP Host header must be forwarded for http signature validation to work
-rw-r--r-- | lib/pleroma/web/activity_pub/activity_pub_controller.ex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pleroma/web/activity_pub/activity_pub_controller.ex b/lib/pleroma/web/activity_pub/activity_pub_controller.ex index 80aae4f0f..c7d50893f 100644 --- a/lib/pleroma/web/activity_pub/activity_pub_controller.ex +++ b/lib/pleroma/web/activity_pub/activity_pub_controller.ex @@ -93,7 +93,7 @@ defmodule Pleroma.Web.ActivityPub.ActivityPubController do Logger.info("Signature not from author, relayed message, fetching from source") ActivityPub.fetch_object_from_id(params["object"]["id"]) else - Logger.info("Signature error") + Logger.info("Signature error - make sure you are forwarding the HTTP Host header!") Logger.info("Could not validate #{params["actor"]}") Logger.info(inspect(conn.req_headers)) end |