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

Problem with root-relative URLs and the History API #494

Closed
warpech opened this issue May 7, 2014 · 3 comments
Closed

Problem with root-relative URLs and the History API #494

warpech opened this issue May 7, 2014 · 3 comments

Comments

@warpech
Copy link

warpech commented May 7, 2014

In my Polymer Element I have a root-relative link (<a href="/">) which works fine.

Problem starts after changing the page URL using history.pushState to /some/new/url. In result, the link's href property changes to /some/. I would expect the href property to stay intact.

Demo: http://warpech.github.io/test-history-link/

Polymer 0.2.3
Chrome Stable (Web Platform features disabled)
Chrome Canary (Web Platform features enabled)

@dfreedm
Copy link
Member

dfreedm commented May 7, 2014

I think this is a duplicate of Polymer/platform#63, which is fixed in master.

@warpech
Copy link
Author

warpech commented May 7, 2014

Thanks, indeed it is fixed in master! Sorry for not checking that

@dfreedm
Copy link
Member

dfreedm commented May 7, 2014

Sorry for breaking it in 0.2.3!

@dfreedm dfreedm closed this as completed May 7, 2014
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

No branches or pull requests

2 participants