X Tutup
Skip to content

Wildcard Route doesn't get recognized #6305

@ethanve

Description

@ethanve

I have a defined route like so:

 $router.config([
    { path: 'foo/bar/*baz', component: 'Foo', name: 'foo' }
]);

And when I programmatically $router.navigate(['foo', { baz: '1/2/3' }]) the wildcard portion of the url only shows the first part (in this case: /1)

What I believe that's happening is that the PathRecognizer isn't capturing the full wildcard and that the bug is in path_recognizer.ts in the recognize method

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      X Tutup