From 33499e20a6bcadd518276a7a21744dc32c459d0e Mon Sep 17 00:00:00 2001 From: borrmann Date: Sat, 10 Feb 2024 16:29:43 +0000 Subject: [PATCH] Closes #20497 --- src/Essentials/src/PhoneDialer/PhoneDialer.android.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Essentials/src/PhoneDialer/PhoneDialer.android.cs b/src/Essentials/src/PhoneDialer/PhoneDialer.android.cs index fa1248f8f8ee..1b4ee1035e4f 100644 --- a/src/Essentials/src/PhoneDialer/PhoneDialer.android.cs +++ b/src/Essentials/src/PhoneDialer/PhoneDialer.android.cs @@ -31,7 +31,7 @@ public void Open(string number) phoneNumber = PhoneNumberUtils.FormatNumber(number, Java.Util.Locale.Default.Country) ?? phoneNumber; // if we are an extension then we need to encode - if (phoneNumber.Contains(',', StringComparison.Ordinal) || phoneNumber.Contains(';', StringComparison.Ordinal)) + if (phoneNumber.Contains(',', StringComparison.Ordinal) || phoneNumber.Contains(';', StringComparison.Ordinal) || phoneNumber.Contains('#', StringComparison.Ordinal)) phoneNumber = URLEncoder.Encode(phoneNumber, "UTF-8") ?? phoneNumber; var dialIntent = ResolveDialIntent(phoneNumber);