diff --git a/src/Microsoft.AspNetCore.Blazor.Browser/Routing/UriHelper.cs b/src/Microsoft.AspNetCore.Blazor.Browser/Routing/UriHelper.cs index 846127b141..430e8138eb 100644 --- a/src/Microsoft.AspNetCore.Blazor.Browser/Routing/UriHelper.cs +++ b/src/Microsoft.AspNetCore.Blazor.Browser/Routing/UriHelper.cs @@ -75,8 +75,7 @@ namespace Microsoft.AspNetCore.Blazor.Browser.Routing && absoluteUri[baseUriPrefix.Length] == '/') { // The absolute URI must be of the form "{baseUriPrefix}/something", - // and from that we return "/something" (also stripping any querystring - // and/or hash value) + // and from that we return "/something" return absoluteUri.Substring(baseUriPrefix.Length); }