mirror of
https://github.com/minio/minio.git
synced 2025-11-07 12:52:58 -05:00
Use const slashSeparator instead of "/" everywhere (#8028)
This commit is contained in:
@@ -209,7 +209,7 @@ func getReqAccessKeyV2(r *http.Request) (auth.Credentials, bool, APIErrorCode) {
|
||||
// CanonicalizedProtocolHeaders +
|
||||
// CanonicalizedResource;
|
||||
//
|
||||
// CanonicalizedResource = [ "/" + Bucket ] +
|
||||
// CanonicalizedResource = [ SlashSeparator + Bucket ] +
|
||||
// <HTTP-Request-URI, from the protocol name up to the query string> +
|
||||
// [ subresource, if present. For example "?acl", "?location", "?logging", or "?torrent"];
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user