From 94fec484d9186153a933a2e58a1daca26639f504 Mon Sep 17 00:00:00 2001 From: Waqar Ahmed Khan Date: Fri, 24 Jan 2025 15:26:37 -0800 Subject: [PATCH] authority instead of host --- source/s3express_credentials_provider.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/s3express_credentials_provider.c b/source/s3express_credentials_provider.c index 47d984e6..7afb5aca 100644 --- a/source/s3express_credentials_provider.c +++ b/source/s3express_credentials_provider.c @@ -404,7 +404,7 @@ static struct aws_http_message *s_create_session_request_new( struct aws_byte_cursor host = host_value; /* NOTE: Only for Tests. */ if (endpoint_override != NULL) { - host = *aws_uri_host_name(endpoint_override); + host = *aws_uri_authority(endpoint_override); } struct aws_http_header host_header = { .name = g_host_header_name,