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: avoid errors on IE 11 when upper case exists in base #61

Merged
merged 1 commit into from
Oct 14, 2020
Merged

fix: avoid errors on IE 11 when upper case exists in base #61

merged 1 commit into from
Oct 14, 2020

Conversation

csvn
Copy link
Contributor

@csvn csvn commented Oct 12, 2020

In Chrome, when there is a subdomain in base that is upper-cased, it will return
an URL that is lower-cased. In IE 11 with this polyfills, we get the error
"Error: URL unable to set base due to Error: ".

This commit will make the polyfill match the behavior in Chrome (and others)
by ensuring that base is always lower cased.

In Chrome, when there is a subdomain in base that is upper-cased, it will return
an URL that is lower-cased. In IE 11 with this polyfills, we get the error
"Error: URL unable to set base <Upper-Case-URL> due to Error: <Lower-Case-Url>".

This commit will make the polyfill match the behavior in Chrome (and others)
by ensuring that base is always lower cased.
@lifaon74 lifaon74 merged commit 3e0bf68 into lifaon74:master Oct 14, 2020
@lifaon74
Copy link
Owner

thx: v1.1.11

@csvn csvn deleted the fix-url-base-casing-error branch October 14, 2020 08:29
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.

None yet

2 participants