Skip to content

Commit 8f17d90

Browse files
jfversluisCopilot
andauthored
Update src/Aspire.Hosting.Maui/Utilities/MauiEnvironmentHelper.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 7612db8 commit 8f17d90

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Aspire.Hosting.Maui/Utilities/MauiEnvironmentHelper.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ private static string SanitizeFileName(string name)
203203

204204
private static string EncodeSemicolons(string value, out bool wasEncoded)
205205
{
206-
wasEncoded = value.Contains(';', StringComparison.Ordinal);
206+
wasEncoded = value.IndexOf(';') >= 0;
207207
if (!wasEncoded)
208208
{
209209
return value;

0 commit comments

Comments
 (0)