We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 062679b commit 1eeb835Copy full SHA for 1eeb835
src/BootstrapBlazor/Router/RouteTableFactory.cs
@@ -23,7 +23,7 @@ internal static class RouteTableFactory
23
public static RouteContext Create(IEnumerable<Assembly> assemblies, string url)
24
{
25
RefreshRouteTable(assemblies);
26
- if (url.IndexOf("?") > 0) url = url[..url.IndexOf("?")];
+ if (url.IndexOf("?", StringComparison.OrdinalIgnoreCase) > 0) url = url[..url.IndexOf("?")];
27
var routeContext = new Microsoft.AspNetCore.Components.Routing.RouteContext(url);
28
Routes.Route(routeContext);
29
return new RouteContext()
0 commit comments