Skip to content

Change Fetch for onigasm to use credentials #846

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

Closed
wants to merge 1 commit into from

Conversation

recro-lataille
Copy link

will cause credentials to be used to fetch onigasm so that it will work behind a proxy that is validating client certificates.

Issue:
fetching .wasm does not work behind proxy #845

@recro-lataille
Copy link
Author

can this be added to the next release that is currently in preview

@deansheather
Copy link
Member

Feel free to reopen this PR against the web branch and close this one. Since it's a very small change it should be OK.

@weikinhuang
Copy link

can this now be rebased onto master, since v2 was just merged?

@nhooyr
Copy link
Contributor

nhooyr commented Sep 20, 2019

@code-asher cc

@code-asher
Copy link
Member

code-asher commented Sep 20, 2019

I tested this behind a proxy but it seems to work on Chrome and Firefox as-is on v2. Ah it looks like Firefox was changed in 61.0b13 (somewhere around June) to use same-origin by default to match the changed spec whatwg/fetch#585.
Edit: and it seems Chromium changed somewhere around the end of April with that change landing in Chrome somewhere in the end of July.

@nhooyr
Copy link
Contributor

nhooyr commented Sep 20, 2019

Can this be closed then?

@code-asher
Copy link
Member

code-asher commented Sep 20, 2019

I think so, unless we need to support older Firefox or Chrome versions.

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.

5 participants