From 273faff753c9a4b3c69b52b9dd9b9e70b3242136 Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Tue, 15 Jul 2025 08:39:41 -0700 Subject: [PATCH] Update weed/s3api/auth_signature_v4.go Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- weed/s3api/auth_signature_v4.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weed/s3api/auth_signature_v4.go b/weed/s3api/auth_signature_v4.go index 74b6eaba6..8d9011f0d 100644 --- a/weed/s3api/auth_signature_v4.go +++ b/weed/s3api/auth_signature_v4.go @@ -569,7 +569,7 @@ func getSignedHeaders(signedHeaders http.Header) string { // if object matches reserved string, no need to encode them var reservedObjectNames = regexp.MustCompile("^[a-zA-Z0-9-_.~/]+$") -// encodePath encode the strings from UTF-8 byte representations to HTML hex escape sequences +// encodePath encodes the strings from UTF-8 byte representations to HTML hex escape sequences // // This is necessary since regular url.Parse() and url.Encode() functions do not support UTF-8 // non english characters cannot be parsed due to the nature in which url.Encode() is written