Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: history.pushState requires same-origin #33

Merged
merged 1 commit into from Oct 28, 2019

Conversation

Yexiaoxing
Copy link
Contributor

This should fix #27

According to https://developer.mozilla.org/en-US/docs/Web/API/History/pushState, history object only accepts same-origin changes. However, Chrome does not seem to recongise "/" and "" as the same-origin urls. That's the reason why we are seeing exceptions.

This should be regarded as a temporary fix if #30 is going to be implemented.

@negative0 negative0 merged commit bf3fbb1 into rclone:master Oct 28, 2019
@negative0
Copy link
Member

Thank you for the changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Token does not authenticate on first load
2 participants