summaryrefslogtreecommitdiffstats
path: root/lib/Service/SignatureService.php
diff options
context:
space:
mode:
authorCarl Schwan <carl@carlschwan.eu>2022-05-12 11:06:10 +0200
committerGitHub <noreply@github.com>2022-05-12 11:06:10 +0200
commitd868df186b049569a2cfe480eeab6f5251738ef6 (patch)
tree5d8e45a3f13f8d78654f911376116cd39cbb00ba /lib/Service/SignatureService.php
parentf9d8281224495e6b93b0f6e63042a81e4cb0028f (diff)
parente577395e4085e8d87c373b621fe0c1a931cffbf4 (diff)
Merge pull request #1179 from mnd/peertube-interoperability-fix
Allow to follow to PeerTube 3.0.0 users
Diffstat (limited to 'lib/Service/SignatureService.php')
-rw-r--r--lib/Service/SignatureService.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Service/SignatureService.php b/lib/Service/SignatureService.php
index 5c1b4e86..eaddfa3f 100644
--- a/lib/Service/SignatureService.php
+++ b/lib/Service/SignatureService.php
@@ -131,7 +131,7 @@ class SignatureService {
$localActor = $this->actorsRequest->getFromId($queue->getAuthor());
- $headersElements = ['content-length', 'date', 'host', 'digest'];
+ $headersElements = ['(request-target)', 'content-length', 'date', 'host', 'digest'];
$allElements = [
'(request-target)' => 'post ' . $path->getPath(),
'date' => $date,