aboutsummaryrefslogtreecommitdiff
path: root/src/garage/tests
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2023-05-18 00:06:03 +0200
committerAlex Auvolat <alex@adnab.me>2023-05-18 11:18:06 +0200
commit746b0090e4ad02e98b08aa1cfefd77a22d9490fe (patch)
tree83b126a76f3d0e5586a6f92b61b1e6c95938a629 /src/garage/tests
parentc26a4308b4454e2f36e2824280b9f587a6918fa9 (diff)
downloadgarage-746b0090e4ad02e98b08aa1cfefd77a22d9490fe.tar.gz
garage-746b0090e4ad02e98b08aa1cfefd77a22d9490fe.zip
k2v signature verification: double urlencoding (see comment in source code)
Diffstat (limited to 'src/garage/tests')
-rw-r--r--src/garage/tests/common/custom_requester.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/garage/tests/common/custom_requester.rs b/src/garage/tests/common/custom_requester.rs
index 609eda97..4133bb8b 100644
--- a/src/garage/tests/common/custom_requester.rs
+++ b/src/garage/tests/common/custom_requester.rs
@@ -209,6 +209,7 @@ impl<'a> RequestBuilder<'a> {
all_headers.extend(self.unsigned_headers.clone());
let canonical_request = signature::payload::canonical_request(
+ self.service,
&self.method,
&Uri::try_from(&uri).unwrap(),
&all_headers,