mirror of
https://github.com/minio/minio.git
synced 2025-11-07 12:52:58 -05:00
sigv4: Trim and shrink spaces in headers values (#3162)
This commit is contained in:
committed by
Harshavardhana
parent
4503491a0a
commit
d9bab6b3bd
@@ -68,7 +68,7 @@ func getCanonicalHeaders(signedHeaders http.Header, host string) string {
|
||||
if idx > 0 {
|
||||
buf.WriteByte(',')
|
||||
}
|
||||
buf.WriteString(v)
|
||||
buf.WriteString(signV4TrimAll(v))
|
||||
}
|
||||
buf.WriteByte('\n')
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user