Skip to content

Blazor - (client side) Route parameter with dot (.) not working #13247

@royzhang666

Description

@royzhang666

Describe the bug

The client side blazor (wasm) component cannot match the route parameter with dot (.) when you open the link the first time, instead it will return 404 error. It worked when you navigate from other blazor components.

To Reproduce

Steps to reproduce the behavior:

  1. Using this version of ASP.NET Core 3.0.0-preview8.19405.7
  2. Run this blazor component
@page "/hellow/{Name}"

@Name

@code
{
    [Parameter]
    public string Name { get; set; }
}
  1. With these arguments '/hellow/hello.world'
  2. See error: 404

Expected behavior

the page containing name hello.world

Screenshots

If applicable, add screenshots to help explain your problem.

Screen Shot 2019-08-19 at 3 54 53 PM

Metadata

Metadata

Assignees

Labels

DocsThis issue tracks updating documentationarea-blazorIncludes: Blazor, Razor Componentsfeature-blazor-wasmThis issue is related to and / or impacts Blazor WebAssembly

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions