Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

fix($location): strip off empty hash segments when comparing#10747

Closed
tleruitte wants to merge 0 commit into
angular:v1.2.xfrom
tleruitte:v1.2.x
Closed

fix($location): strip off empty hash segments when comparing#10747
tleruitte wants to merge 0 commit into
angular:v1.2.xfrom
tleruitte:v1.2.x

Conversation

@tleruitte
Copy link
Copy Markdown
Contributor

Backported from e93710f

The url is the same whether or not there is an empty # marker at the end.
This prevents unwanted calls to update the browser, since the browser is
automatically applying an empty hash if necessary to prevent page reloads.

Closes #9635

@googlebot
Copy link
Copy Markdown

Thanks for your pull request.

It looks like this may be your first contribution to a Google open source project, in which case you'll need to sign a Contributor License Agreement (CLA) at https://cla.developers.google.com/.

If you've already signed a CLA, it's possible we don't have your GitHub username or you're using a different email address. Check the information on your CLA or see this help article on setting the email on your git commits.

Once you've done that, please reply here to let us know. If you signed the CLA as a corporation, please let us know the company's name.

@tleruitte
Copy link
Copy Markdown
Contributor Author

Closed in favour of #10748 . Sorry for the disagreement.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants