diff options
author | Haelwenn <contact+git.pleroma.social@hacktivis.me> | 2022-11-13 18:53:59 +0000 |
---|---|---|
committer | Haelwenn <contact+git.pleroma.social@hacktivis.me> | 2022-11-13 18:53:59 +0000 |
commit | a2db64b12b33b7967aa1f633231253e67ad73216 (patch) | |
tree | d56ee3e48b3eb40404002d208f576ae009862e13 /test | |
parent | e86ca8a43668caa5efff1274781c10520488b1b9 (diff) | |
parent | bdedc41cbc60cc699e44ff323b945c276af32122 (diff) | |
download | pleroma-a2db64b12b33b7967aa1f633231253e67ad73216.tar.gz pleroma-a2db64b12b33b7967aa1f633231253e67ad73216.zip |
Merge branch 'fix-typo-in-csp-report-to-header-name' into 'develop'
Fix typo in CSP Report-To header name
See merge request pleroma/pleroma!3768
Diffstat (limited to 'test')
-rw-r--r-- | test/pleroma/web/plugs/http_security_plug_test.exs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/pleroma/web/plugs/http_security_plug_test.exs b/test/pleroma/web/plugs/http_security_plug_test.exs index e1e97c1ce..c79170382 100644 --- a/test/pleroma/web/plugs/http_security_plug_test.exs +++ b/test/pleroma/web/plugs/http_security_plug_test.exs @@ -59,9 +59,9 @@ defmodule Pleroma.Web.Plugs.HTTPSecurityPlugTest do assert csp =~ ~r|report-uri https://endpoint.com;report-to csp-endpoint;| - [reply_to] = Conn.get_resp_header(conn, "reply-to") + [report_to] = Conn.get_resp_header(conn, "report-to") - assert reply_to == + assert report_to == "{\"endpoints\":[{\"url\":\"https://endpoint.com\"}],\"group\":\"csp-endpoint\",\"max-age\":10886400}" end |