Skip to content

fix(RootRouter): Path prefixed with a slash when not needed#5724

Closed
epotvin wants to merge 1 commit into
angular:masterfrom
epotvin:fix-root-router-commit
Closed

fix(RootRouter): Path prefixed with a slash when not needed#5724
epotvin wants to merge 1 commit into
angular:masterfrom
epotvin:fix-root-router-commit

Conversation

@epotvin
Copy link
Copy Markdown

@epotvin epotvin commented Dec 9, 2015

Add a condition to avoid prefixing a second slash at the beginning of the path there is already one.

Closes #5627

Add a condition to avoid prefixing a second slash at the beginning of the path there is already one.

Closes angular#5627
@btford
Copy link
Copy Markdown
Contributor

btford commented Dec 9, 2015

Needs a test case, but otherwise seems alright at a first glance.

@btford btford added the action: cleanup The PR is in need of cleanup, either due to needing a rebase or in response to comments from reviews label Dec 9, 2015
@IgorMinar IgorMinar modified the milestone: beta.1 Dec 15, 2015
@petebacondarwin
Copy link
Copy Markdown
Contributor

Duplicate of #6729, which includes other cases.

@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 7, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

action: cleanup The PR is in need of cleanup, either due to needing a rebase or in response to comments from reviews cla: yes state: blocked

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Commit method prefix a slash when none is needed

5 participants