diff options
author | Ivan Tashkinov <ivantashkinov@gmail.com> | 2019-01-29 13:12:28 +0300 |
---|---|---|
committer | Ivan Tashkinov <ivantashkinov@gmail.com> | 2019-01-29 13:12:28 +0300 |
commit | 92753b0cd9cfcdc5edb64a5e55ad27f73079f9e0 (patch) | |
tree | 606de2d652366d27ce34faebf3ad4274facfd15d /lib/pleroma/web/websub/websub.ex | |
parent | d3f9e6f6fed382ede8e314c370c21e84a119f65a (diff) | |
download | pleroma-92753b0cd9cfcdc5edb64a5e55ad27f73079f9e0.tar.gz |
[#534] Made federation push sender be determined basing on content instead of `referer` header. Updated tests.
Diffstat (limited to 'lib/pleroma/web/websub/websub.ex')
-rw-r--r-- | lib/pleroma/web/websub/websub.ex | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/pleroma/web/websub/websub.ex b/lib/pleroma/web/websub/websub.ex index abe148270..8f7d53b03 100644 --- a/lib/pleroma/web/websub/websub.ex +++ b/lib/pleroma/web/websub/websub.ex @@ -278,8 +278,7 @@ defmodule Pleroma.Web.Websub do xml, [ {"Content-Type", "application/atom+xml"}, - {"X-Hub-Signature", "sha1=#{signature}"}, - {"referer", Pleroma.Web.Endpoint.url()} + {"X-Hub-Signature", "sha1=#{signature}"} ] ) do Instances.set_reachable(callback) |