[fix](multi-catalog)remove http scheme in oss endpoint (#34907)
remove http scheme in oss endpoint, scheme maybe appear in url (http://bucket.http//.region.aliyuncs.com) if use http client
This commit is contained in:
@ -493,7 +493,7 @@ public class PropertyConverter {
|
||||
}
|
||||
|
||||
private static String getOssEndpoint(String region, boolean publicAccess) {
|
||||
String prefix = "http://oss-";
|
||||
String prefix = "oss-";
|
||||
String suffix = ".aliyuncs.com";
|
||||
if (!publicAccess) {
|
||||
suffix = "-internal" + suffix;
|
||||
|
||||
Reference in New Issue
Block a user