X Tutup
Skip to content

fix(router): fix url path for star segment in path recognizer#6514

Closed
davidreher wants to merge 4 commits intoangular:masterfrom
BROCKHAUS-AG:fix-url-path-for-star-segment-in-path-recognizer
Closed

fix(router): fix url path for star segment in path recognizer#6514
davidreher wants to merge 4 commits intoangular:masterfrom
BROCKHAUS-AG:fix-url-path-for-star-segment-in-path-recognizer

Conversation

@davidreher
Copy link
Copy Markdown
Contributor

If you register the route /app/*location and invoke a url like /app/foo/bar the PathRecognizer should return a url path equal to the invoked url.

Before this patch, everything after foo was ignored, which resulted in a redirect to /app/foo which was probably not intended (at least in the angular 1.5 component router).

This is a bugfix for #6305.

If you register the route `/app/*location` and invoke a url like `/app/foo/bar`
the PathRecognizer should return a url path equal to the invoked url.

Before this patch, everything after `foo` was ignored, which resulted in a
redirect to `/app/foo` which was probably not intended (at least in the angular
1.5 component router).
@davidreher davidreher changed the title Fix url path for star segment in path recognizer fix(router): fix url path for star segment in path recognizer Jan 17, 2016
@davidreher
Copy link
Copy Markdown
Contributor Author

@btford @petebacondarwin can you take a look?

@petebacondarwin
Copy link
Copy Markdown
Contributor

LGTM

@btford
Copy link
Copy Markdown
Contributor

btford commented Feb 9, 2016

I've squashed your commits and filed #6976– I'll merge the PR from there.

Thanks!

@btford btford closed this Feb 9, 2016
@angular-automatic-lock-bot
Copy link
Copy Markdown

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 8, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

action: merge The PR is ready for merge by the caretaker cla: yes type: bug/fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

X Tutup