mirror of
https://github.com/minio/minio.git
synced 2025-11-09 05:34:56 -05:00
signature: use region from Auth header if server's region not configured (#4329)
This commit is contained in:
committed by
Harshavardhana
parent
465274cd21
commit
5db1e9f3dd
@@ -80,7 +80,7 @@ func TestIsValidRegion(t *testing.T) {
|
||||
expectedResult bool
|
||||
}{
|
||||
|
||||
{"", "", false},
|
||||
{"", "", true},
|
||||
{globalMinioDefaultRegion, "", true},
|
||||
{globalMinioDefaultRegion, "US", true},
|
||||
{"us-west-1", "US", false},
|
||||
|
||||
Reference in New Issue
Block a user