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

urls starting with double / causes iron-location to "forget" hostname when generating urls #111

Open
s-oliver opened this issue Mar 27, 2018 · 1 comment

Comments

@s-oliver
Copy link

Description

when the url starts with a double slash (or more), iron-location generates an incorrect url (hostname is left out). When trying to set this invalid url through the history api, a DOMException is raised ( DOMException: Failed to execute 'pushState' on 'History')

Expected outcome

The host should still be included in the generated url, and the history push state should work as expected

Actual outcome

unhandled DOMException, breaking all following script execution

@dmytrothoughtandfunction

@s-oliver I have a same issue in iOS 10. Any news, Polymer's team?

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