From b11f04894ae406ff7f2e793cfd83fc697dfc1f9a Mon Sep 17 00:00:00 2001
From: Joel Mut <62260472+sw-joelmut@users.noreply.github.com>
Date: Wed, 21 Aug 2024 13:32:56 -0300
Subject: [PATCH] Update Twilio package (#6839)
---
.../Microsoft.Bot.Builder.FunctionalTests.csproj | 2 +-
.../Microsoft.Bot.Builder.Adapters.Twilio.csproj | 6 +++---
.../Microsoft.Bot.Builder.Adapters.Twilio/TwilioHelper.cs | 2 +-
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/FunctionalTests/Microsoft.Bot.Builder.FunctionalTests/Microsoft.Bot.Builder.FunctionalTests.csproj b/FunctionalTests/Microsoft.Bot.Builder.FunctionalTests/Microsoft.Bot.Builder.FunctionalTests.csproj
index ec1beda515..05d47c055b 100644
--- a/FunctionalTests/Microsoft.Bot.Builder.FunctionalTests/Microsoft.Bot.Builder.FunctionalTests.csproj
+++ b/FunctionalTests/Microsoft.Bot.Builder.FunctionalTests/Microsoft.Bot.Builder.FunctionalTests.csproj
@@ -19,7 +19,7 @@
-
+
diff --git a/libraries/Adapters/Microsoft.Bot.Builder.Adapters.Twilio/Microsoft.Bot.Builder.Adapters.Twilio.csproj b/libraries/Adapters/Microsoft.Bot.Builder.Adapters.Twilio/Microsoft.Bot.Builder.Adapters.Twilio.csproj
index 9fb3a165fd..13ad5b332d 100644
--- a/libraries/Adapters/Microsoft.Bot.Builder.Adapters.Twilio/Microsoft.Bot.Builder.Adapters.Twilio.csproj
+++ b/libraries/Adapters/Microsoft.Bot.Builder.Adapters.Twilio/Microsoft.Bot.Builder.Adapters.Twilio.csproj
@@ -9,7 +9,7 @@
- netstandard2.0
+ netstandard2.1
Library for connecting bots with Twilio SMS API.
This library implements C# classes for Twilio adapter.
msbot-component;msbot-adapter
@@ -22,7 +22,7 @@
- netstandard2.0
+ netstandard2.1
$(NoWarn),CS8002
@@ -33,7 +33,7 @@
-
+
diff --git a/libraries/Adapters/Microsoft.Bot.Builder.Adapters.Twilio/TwilioHelper.cs b/libraries/Adapters/Microsoft.Bot.Builder.Adapters.Twilio/TwilioHelper.cs
index 1cd311f141..25e1d0dfd1 100644
--- a/libraries/Adapters/Microsoft.Bot.Builder.Adapters.Twilio/TwilioHelper.cs
+++ b/libraries/Adapters/Microsoft.Bot.Builder.Adapters.Twilio/TwilioHelper.cs
@@ -176,7 +176,7 @@ public static Dictionary QueryStringToDictionary(string query)
return values;
}
- var pairs = query.Replace("+", "%20").Split('&');
+ var pairs = query.Replace("+", "%20", StringComparison.InvariantCulture).Split('&');
foreach (var p in pairs)
{