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 resolveRelUrl() attempting to use invalid URLs #140

Merged
merged 5 commits into from
Apr 9, 2024
Merged

Conversation

ikreymer
Copy link
Member

@ikreymer ikreymer commented Apr 8, 2024

…blank (and other disallowed prefixes)

default to window.document if passed in document does not have a valid URL (eg. about:blank)
specifically check for https:// or http://
fixes #139
@ikreymer ikreymer merged commit 20596ca into main Apr 9, 2024
4 checks passed
@ikreymer ikreymer deleted the fix-reloverride branch April 9, 2024 00:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant