Skip to content

Commit bdd48ee

Browse files
authored
Update FormatUtilities.cs
1 parent d9d1cbe commit bdd48ee

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/ImageSharp.Web/FormatUtilities.cs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -65,19 +65,11 @@ public string GetExtensionFromUri(string uri)
6565
return ext;
6666
}
6767

68-
#if !NETCOREAPP3_1_OR_GREATER
69-
path = uri.ToLowerInvariant().AsSpan(0, query);
70-
#else
7168
path = uri.AsSpan(0, query);
72-
#endif
7369
}
7470
else
7571
{
76-
#if !NETCOREAPP3_1_OR_GREATER
77-
path = uri.ToLowerInvariant();
78-
#else
7972
path = uri;
80-
#endif
8173
}
8274

8375
int extensionIndex;

0 commit comments

Comments
 (0)