Skip to content

Dynamic route doesn't work if route parameter contains a dot followed by text. #2610

@CarlosOnline

Description

@CarlosOnline

Version

2.5.1

Reproduction link

https://github.com/CarlosOnline/VueRouterBug.git

Steps to reproduce

Create a route with dynamic route parameter :lab

  • Start app
  • Navigate to MyView/Foo which works
  • Navigate to MyVew/Number.1234 does not work
{
    path: '/MyView/:lab',
    component: MyView,
    display: 'MyView',
    meta: { title: 'MyView' }
},

What is expected?

Navigate to route with dynamic parameter when no

What is actually happening?

Route is not found

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions