Remove port 9000 for play.min.io (#2817)
Most corporate environments block port 9000, since we already allow access from port 80 and port 443 just default to https port instead.
This commit is contained in:
committed by
kannappanr
parent
df9320134b
commit
aa3c9f58df
+7
-7
@@ -32,19 +32,19 @@ func TestParseURLEnv(t *testing.T) {
|
||||
success bool
|
||||
}{
|
||||
{
|
||||
envURL: "https://username:password@play.min.io:9000/",
|
||||
expectedURL: "https://play.min.io:9000/",
|
||||
envURL: "https://username:password@play.min.io/",
|
||||
expectedURL: "https://play.min.io/",
|
||||
expectedAccess: "username",
|
||||
expectedSecret: "password",
|
||||
success: true,
|
||||
},
|
||||
{
|
||||
envURL: "https://play.min.io:9000/",
|
||||
expectedURL: "https://play.min.io:9000/",
|
||||
envURL: "https://play.min.io/",
|
||||
expectedURL: "https://play.min.io/",
|
||||
success: true,
|
||||
},
|
||||
{
|
||||
envURL: "ftp://play.min.io:9000/",
|
||||
envURL: "ftp://play.min.io/",
|
||||
success: false,
|
||||
},
|
||||
{
|
||||
@@ -52,11 +52,11 @@ func TestParseURLEnv(t *testing.T) {
|
||||
success: false,
|
||||
},
|
||||
{
|
||||
envURL: "https://play.min.io:9000/path",
|
||||
envURL: "https://play.min.io/path",
|
||||
success: false,
|
||||
},
|
||||
{
|
||||
envURL: "https://play.min.io:9000/?path=value",
|
||||
envURL: "https://play.min.io/?path=value",
|
||||
success: false,
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user