1
0
mirror of https://git.pleroma.social/sjw/pleroma.git synced 2024-11-06 01:42:24 +01:00

activitypub controller: note that the HTTP Host header must be forwarded for http signature validation to work

This commit is contained in:
William Pitcock 2018-05-21 19:19:40 +00:00
parent d269c69a0b
commit 9a2d097ed8

View File

@ -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