mirror of
https://github.com/pgsty/minio.git
synced 2026-08-09 15:53:28 +03:00
posix: filepath shouldn't be used anymore use path.Join (#1486)
This commit is contained in:
committed by
Anand Babu (AB) Periasamy
parent
82fbe908a3
commit
ad40036cba
+3
-3
@@ -594,9 +594,9 @@ func (api objectAPIHandlers) PostPolicyBucketHandler(w http.ResponseWriter, r *h
|
||||
}
|
||||
encodedSuccessResponse := encodeResponse(PostResponse{
|
||||
Location: getObjectLocation(bucket, object), // TODO Full URL is preferred
|
||||
Bucket: bucket,
|
||||
Key: object,
|
||||
ETag: md5Sum,
|
||||
Bucket: bucket,
|
||||
Key: object,
|
||||
ETag: md5Sum,
|
||||
})
|
||||
setCommonHeaders(w)
|
||||
writeSuccessResponse(w, encodedSuccessResponse)
|
||||
|
||||
Reference in New Issue
Block a user