Support signed outbox requests
This commit is contained in:
parent
a5be6f9276
commit
bdd834d313
3 changed files with 27 additions and 13 deletions
|
@ -484,7 +484,7 @@ class HTTPSignature
|
|||
}
|
||||
|
||||
$headers = [];
|
||||
$headers['(request-target)'] = strtolower($http_headers['REQUEST_METHOD']) . ' ' . $http_headers['REQUEST_URI'];
|
||||
$headers['(request-target)'] = strtolower($http_headers['REQUEST_METHOD']) . ' ' . parse_url($http_headers['REQUEST_URI'], PHP_URL_PATH);
|
||||
|
||||
// First take every header
|
||||
foreach ($http_headers as $k => $v) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue