From 0867b0601a62cebfd744ba857f03284fd5d2cc81 Mon Sep 17 00:00:00 2001 From: Prashant Srivastava <50466688+srprash@users.noreply.github.com> Date: Wed, 10 Apr 2024 13:56:44 -0700 Subject: [PATCH] Update System.Data.SqlClient version for CVE mitigation (#294) * update System.Data.SqlClient version for CVE mitigation * updating the httpbin status url --- .../SqlServer/AWSXRayRecorder.Handlers.SqlServer.csproj | 2 +- sdk/test/UnitTests/HttpClientXRayTracingHandlerTests.cs | 2 +- sdk/test/UnitTests/HttpWebRequestTracingExtensionTests.cs | 2 +- .../UnitTests/SanitizedHttpClientXRayTracingHandlerTests.cs | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/sdk/src/Handlers/SqlServer/AWSXRayRecorder.Handlers.SqlServer.csproj b/sdk/src/Handlers/SqlServer/AWSXRayRecorder.Handlers.SqlServer.csproj index 728630a4..53c15ddb 100644 --- a/sdk/src/Handlers/SqlServer/AWSXRayRecorder.Handlers.SqlServer.csproj +++ b/sdk/src/Handlers/SqlServer/AWSXRayRecorder.Handlers.SqlServer.csproj @@ -38,7 +38,7 @@ - + diff --git a/sdk/test/UnitTests/HttpClientXRayTracingHandlerTests.cs b/sdk/test/UnitTests/HttpClientXRayTracingHandlerTests.cs index 4f8775e4..b9452ab7 100644 --- a/sdk/test/UnitTests/HttpClientXRayTracingHandlerTests.cs +++ b/sdk/test/UnitTests/HttpClientXRayTracingHandlerTests.cs @@ -17,7 +17,7 @@ public class HttpClientXRayTracingHandlerTests : TestBase { private const string URL = "https://httpbin.org/"; - private const string URL404 = "https://httpbin.org/404"; + private const string URL404 = "https://httpbin.org/status/404"; private readonly HttpClient _httpClient; diff --git a/sdk/test/UnitTests/HttpWebRequestTracingExtensionTests.cs b/sdk/test/UnitTests/HttpWebRequestTracingExtensionTests.cs index 377daaea..c4830803 100644 --- a/sdk/test/UnitTests/HttpWebRequestTracingExtensionTests.cs +++ b/sdk/test/UnitTests/HttpWebRequestTracingExtensionTests.cs @@ -33,7 +33,7 @@ public class HttpWebRequestTracingExtensionTests : TestBase { private const string URL = "https://httpbin.org/"; - private const string URL404 = "https://httpbin.org/404"; + private const string URL404 = "https://httpbin.org/status/404"; private static AWSXRayRecorder _recorder; diff --git a/sdk/test/UnitTests/SanitizedHttpClientXRayTracingHandlerTests.cs b/sdk/test/UnitTests/SanitizedHttpClientXRayTracingHandlerTests.cs index e1431871..239464cb 100644 --- a/sdk/test/UnitTests/SanitizedHttpClientXRayTracingHandlerTests.cs +++ b/sdk/test/UnitTests/SanitizedHttpClientXRayTracingHandlerTests.cs @@ -17,7 +17,7 @@ public class SanitizedHttpClientXRayTracingHandlerTests : TestBase { private const string URL = "https://httpbin.org/?ab=test&ad=test"; - private const string URL404 = "https://httpbin.org/404"; + private const string URL404 = "https://httpbin.org/status/404"; private readonly HttpClient _httpClient;