Skip to content
This repository has been archived by the owner on Dec 19, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants