aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorHélène <pleroma-dev@helene.moe>2022-08-17 03:30:02 +0200
committerHélène <pleroma-dev@helene.moe>2022-08-18 17:01:34 +0200
commit61254111e59f02118cad15de49d1e0704c07030e (patch)
tree0a9546b70cf217eb79b30e95589c95ac79388fab /test
parentf41d970a592568956aa97959f28cb89cadf5f2bc (diff)
downloadpleroma-61254111e59f02118cad15de49d1e0704c07030e.tar.gz
HttpSignaturePlug: accept standard (request-target)
The (request-target) used by Pleroma is non-standard, but many HTTP signature implementations do it this way due to a misinterpretation of the draft 06 of HTTP signatures: "path" was interpreted as not having the query, though later examples show that it must be the absolute path with the query part of the URL as well. This behavior is kept to make sure most software (Pleroma itself, Mastodon, and probably others) do not break, but Pleroma now accepts signatures for a (request-target) containing the query, as expected by many HTTP signature libraries, and clarified in the draft 11 of HTTP signatures. Additionally, the new draft renamed (request-target) to @request-target. We now support both for incoming requests' signatures.
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions