Skip to content

Commit a0a3ef0

Browse files
authored
Merge pull request #2113 from nextcloud/backport/2076/stable32
[stable32] Fix federated teams with space-containing userid
2 parents 8292673 + 3c23e2a commit a0a3ef0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Tools/ActivityPub/NCSignature.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ private function setIncomingClearSignature(NCSignedRequest $signedRequest): void
197197
throw new SignatureException('missing elements in \'headers\'');
198198
}
199199

200-
$target = strtolower($request->getMethod()) . ' ' . $request->getRequestUri();
200+
$target = strtolower($request->getMethod()) . ' ' . urldecode($request->getRequestUri());
201201
$estimated = ['(request-target): ' . $target];
202202

203203
foreach ($headers as $key) {

0 commit comments

Comments
 (0)