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 for URI change when <base> tag set #150

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kctech
Copy link

@kctech kctech commented Aug 22, 2016

history.replaceState uses an incorrect path when sending in a null url param and using a base tag (https://bugs.chromium.org/p/chromium/issues/detail?id=279278)

To combat, fetch current window.location.href and remove any anchors already set - maybe ugly, but it fixed the issue for me...

history.replaceState uses an incorrect path when sending in a null url param and using a base tag (https://bugs.chromium.org/p/chromium/issues/detail?id=279278)

To combat, fetch current window.location.href and remove any anchors already set.
@shrpne
Copy link

shrpne commented Sep 3, 2016

Looks like this bug fixed 3 years ago.
According to browser usage table from caniuse db, the coverage of browsers affected by this bug should be approximately less than 1%

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.

2 participants