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

fix($location): prevent page reload if url has empty hash at the end#10960

Closed
dtritus wants to merge 1 commit intoangular:masterfrom
dtritus:issue-10397
Closed

fix($location): prevent page reload if url has empty hash at the end#10960
dtritus wants to merge 1 commit intoangular:masterfrom
dtritus:issue-10397

Conversation

@dtritus
Copy link
Copy Markdown
Contributor

@dtritus dtritus commented Feb 4, 2015

If initial url has empty hash at the end, $location replaces it with url without hash causing page reload

Closes #10397

@googlebot
Copy link
Copy Markdown

We found a Contributor License Agreement for you (the sender of this pull request), but were unable to find agreements for the commit author(s). If you authored these, maybe you used a different email address in the git commits than was used to sign the CLA (login here to double check)? If these were authored by someone else, then they will need to sign a CLA as well, and confirm that they're okay with these being contributed to Google.

If initial url has empty hash at the end, $location replaces it with url without hash causing page reload

Closes angular#10397
@googlebot
Copy link
Copy Markdown

CLAs look good, thanks!

@googlebot googlebot added cla: yes and removed cla: no labels Feb 4, 2015
petebacondarwin pushed a commit that referenced this pull request Feb 4, 2015
…the end

If initial url has empty hash at the end, $location replaces it with url
without hash causing an unwanted page reload.

Closes #10397
Closes #10960
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.

Empty hash at the end of URL causes page reload in HTML5 mode

2 participants

X Tutup