Selaa lähdekoodia

https:// URL to S3 API at oraclecloud.com is interpreted as S3 protocol, instead of WebDAV

Source commit: 753bcabac3f1dca913a554d65189a38f44411082
Martin Prikryl 10 kuukautta sitten
vanhempi
sitoutus
8b4c225d7a
1 muutettua tiedostoa jossa 2 lisäystä ja 1 poistoa
  1. 2 1
      source/core/SessionData.cpp

+ 2 - 1
source/core/SessionData.cpp

@@ -2382,7 +2382,8 @@ bool __fastcall TSessionData::ParseUrl(UnicodeString Url, TOptions * Options,
             (IsDomainOrSubdomain(HostName, S3HostName) ||
              IsDomainOrSubdomain(HostName, L"digitaloceanspaces.com") ||
              IsDomainOrSubdomain(HostName, S3GoogleCloudHostName) ||
-             IsDomainOrSubdomain(HostName, L"r2.cloudflarestorage.com")))
+             IsDomainOrSubdomain(HostName, L"r2.cloudflarestorage.com") ||
+             (IsDomainOrSubdomain(HostName, L"oraclecloud.com") && ContainsText(HostName, L".compat.objectstorage."))))
         {
           AFSProtocol = fsS3;
         }