Skip to content

Commit af8013c

Browse files
zhuxiaolong37huiguangjun
authored andcommitted
Change Vector v4 Signature Rules
1 parent a6d5a44 commit af8013c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

alibabacloud_oss_v2/signer/vectors_v4.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ def _calc_canonical_request(self,
242242
if signing_ctx.bucket is not None:
243243
uri += f'{self._account_id}:{signing_ctx.bucket}/'
244244
else:
245-
uri += ':'
245+
uri += ':/'
246246
if signing_ctx.key is not None:
247247
uri += f'{signing_ctx.key}'
248248
canonical_uri = quote(uri, safe='/')

0 commit comments

Comments
 (0)