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 IE11 breakage with URL building for same-origin comparison #533

Closed
wants to merge 1 commit into from

Conversation

blowery
Copy link

@blowery blowery commented Mar 6, 2019

Page navigation in IE11 always fails the same-origin check on domains that lack ports. This is because the fallback for toURL that uses an anchor fills in the port even when it's not explicitly part of the link.

This patches it back to a blank string, which matches modern behavior.

Fixes #472

@blowery
Copy link
Author

blowery commented Mar 6, 2019

Closing because I like #512 better. :)

@blowery blowery closed this Mar 6, 2019
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.

1 participant