Skip to content
This repository has been archived by the owner on Jun 15, 2023. It is now read-only.

Fix external links detection #879

Merged
merged 1 commit into from
Feb 16, 2016
Merged

Fix external links detection #879

merged 1 commit into from
Feb 16, 2016

Conversation

shvaikalesh
Copy link
Contributor

Resolves #878.

Handled some edge cases with target and iframes.
Removed hardcoded protocols. Now it handles different ports correctly.
Replaced jsdom-global with my-own-stuff because jsdom fails to resolve some relative links on about:blank and jsdom-global does not provide a way to set url. jsdom-assign provides valid and real-world-like urls, cookies etc. And it works on require, w/o closure.

paulmillr added a commit that referenced this pull request Feb 16, 2016
@paulmillr paulmillr merged commit 8050d54 into chaplinjs:master Feb 16, 2016
@shvaikalesh shvaikalesh deleted the is-external-link branch March 31, 2016 05:53
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Internet Explorer reload on link with relative URL
2 participants