posix: filepath shouldn't be used anymore use path.Join (#1486)

This commit is contained in:
Harshavardhana
2016-05-05 01:39:26 -07:00
committed by Anand Babu (AB) Periasamy
parent 82fbe908a3
commit ad40036cba
6 changed files with 24 additions and 31 deletions
+3 -3
View File
@@ -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)