From f24a50e0013de3854ab160d6b613eda3baf572ae Mon Sep 17 00:00:00 2001 From: chrislu Date: Sun, 14 Sep 2025 21:45:15 -0700 Subject: [PATCH] Update s3api_object_handlers_put.go --- weed/s3api/s3api_object_handlers_put.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/weed/s3api/s3api_object_handlers_put.go b/weed/s3api/s3api_object_handlers_put.go index 878a5c120..ceafd9819 100644 --- a/weed/s3api/s3api_object_handlers_put.go +++ b/weed/s3api/s3api_object_handlers_put.go @@ -64,11 +64,6 @@ func (s3a *S3ApiServer) PutObjectHandler(w http.ResponseWriter, r *http.Request) // http://docs.aws.amazon.com/AmazonS3/latest/dev/UploadingObjects.html bucket, object := s3_constants.GetBucketAndObject(r) - authHeader := r.Header.Get("Authorization") - authPreview := authHeader - if len(authHeader) > 50 { - authPreview = authHeader[:50] + "..." - } glog.V(3).Infof("PutObjectHandler %s %s", bucket, object) _, err := validateContentMd5(r.Header)