The reasoning is that we are not providing query
params through 'mc' and we don't need to handle it
specially. Since all paths are absolute with only
delimiter of '/' all other characters should be allowed
including '?'.
For this same reason now newURL is called newClientURL.
Fixes#1677
- Minio Client validates only config host add parameters
Not the config file. Use the same utils to validate config file
if HostURL is wrong.
/storage?googleapis?com for host /storage?googleapis?com is not valid. Could not parse it
if API is wrong.
S3v2iasdasd API for host https://www.google.com is not Valid. It is not part of any of the following APIs:
1. S3v4
2. S3v2
If the version is wrong.
Config version 9 does not match GlobalMCConfiguration 8.
Example:
mc: <ERROR> Config version 9 does not match GlobalMCConfiguration 8.
S3v2asda API for host httpsasdkasd is not Valid. It is not part of any of the following APIs:
1. S3v4
2. S3v2
URL httpsasdkasd for host httpsasdkasd is not valid. Could not parse it.