diff options
| author | James Le Cuirot <chewi@gentoo.org> | 2025-10-06 11:29:10 +0100 |
|---|---|---|
| committer | James Le Cuirot <chewi@gentoo.org> | 2025-10-06 11:29:10 +0100 |
| commit | 8c1cbeed4488a3ecc94a465c990202f38493f4c2 (patch) | |
| tree | d9167b34e54e8b4528289cbe0317ef5089630448 /dev-cpp/azure-identity/files/azure-identity-imds-double-slash.patch | |
| parent | ab49206d4a5b90eec4a32a063dfd7405ff16ae5d (diff) | |
| download | gentoo-8c1cbeed4488a3ecc94a465c990202f38493f4c2.tar.gz gentoo-8c1cbeed4488a3ecc94a465c990202f38493f4c2.tar.bz2 gentoo-8c1cbeed4488a3ecc94a465c990202f38493f4c2.zip | |
dev-cpp/azure-identity: Drop old 1.13.0-r1
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Diffstat (limited to 'dev-cpp/azure-identity/files/azure-identity-imds-double-slash.patch')
| -rw-r--r-- | dev-cpp/azure-identity/files/azure-identity-imds-double-slash.patch | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/dev-cpp/azure-identity/files/azure-identity-imds-double-slash.patch b/dev-cpp/azure-identity/files/azure-identity-imds-double-slash.patch deleted file mode 100644 index f6b47be1ad6f..000000000000 --- a/dev-cpp/azure-identity/files/azure-identity-imds-double-slash.patch +++ /dev/null @@ -1,22 +0,0 @@ -From 72f327b2c19afffa9df2ce0ef817c13b3dd75804 Mon Sep 17 00:00:00 2001 -From: James Le Cuirot <jlecuirot@microsoft.com> -Date: Wed, 13 Aug 2025 15:52:31 +0100 -Subject: [PATCH] Fix IMDS token requests for managed identities - -This was broken by a035ee5f9416ef9188533de40b4ab1c37fb7c0af, which -accidentally constructed the IMDS URL with a double slash at the start -of the path. This is not properly routed on the server side, leading to -a 404 error with some very misleading XML. - -Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com> ---- a/src/managed_identity_source.cpp -+++ b/src/managed_identity_source.cpp -@@ -527,7 +527,7 @@ std::unique_ptr<ManagedIdentitySource> ImdsManagedIdentitySource::Create( - - imdsUrl = Core::Url{imdsEndpointEnvVarValue}; - } -- imdsUrl.SetPath("/metadata/identity/oauth2/token"); -+ imdsUrl.SetPath("metadata/identity/oauth2/token"); - - return std::unique_ptr<ManagedIdentitySource>( - new ImdsManagedIdentitySource(clientId, objectId, resourceId, imdsUrl, options)); |
