From 8cded87ec689a177e74da88622649bc09cd131f2 Mon Sep 17 00:00:00 2001 From: Florian Kaiser Date: Fri, 12 Jul 2024 17:01:56 +0200 Subject: [PATCH] https flag is not mirrored from Url() to BaseUrl this flag assignement was removed in: https://github.com/minio/minio-cpp/pull/111 I don't know if it was removed intentional, but without it the BaseUrl.https flag only reflects the state of how BaseUrl was constructed with. --- src/request.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/request.cc b/src/request.cc index 8ea4ea3..763082a 100644 --- a/src/request.cc +++ b/src/request.cc @@ -162,6 +162,7 @@ BaseUrl::BaseUrl(std::string host, bool https, std::string region) return; } + this->https = url.https; this->host = url.host; this->port = url.port;