From 379d30bc3ff704102a0b1a7b57db239b10a4ad26 Mon Sep 17 00:00:00 2001 From: rajanyadav0307 Date: Tue, 6 Jan 2026 19:59:52 -0600 Subject: [PATCH] Issue-3666: fixes IPv6 loopback handling for EKS Pod Identity agent URLs Sign-off: Rajan Yadav ( rajanyadav0307@gmail.com) --- .../source/auth/GeneralHTTPCredentialsProvider.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/aws-cpp-sdk-core/source/auth/GeneralHTTPCredentialsProvider.cpp b/src/aws-cpp-sdk-core/source/auth/GeneralHTTPCredentialsProvider.cpp index 66759c86da9..416e50dd648 100644 --- a/src/aws-cpp-sdk-core/source/auth/GeneralHTTPCredentialsProvider.cpp +++ b/src/aws-cpp-sdk-core/source/auth/GeneralHTTPCredentialsProvider.cpp @@ -90,7 +90,7 @@ bool GeneralHTTPCredentialsProvider::ShouldCreateGeneralHTTPProvider(const Aws:: } Aws::Http::URI absUri(absoluteUri); - const Aws::String& authority = absUri.GetAuthority(); + const Aws::String& authority = absUri.GetHost(); // Otherwise, implementations MUST fail to resolve when the URI hostname does not satisfy any of the following conditions if (IsAllowedIp(authority))