-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Proxy-Authorization header created with basic with a small "b" #22383
Comments
My understanding is I'm not sure where the code that sets this is, but if you'd like to try make a PR, that'd be great, too - you can probably just do a full text, case sensitive search of the code base to find out where it's set. |
Hi, thanks for the quick response. I have prepared a commit, but I got this: I guess I need permission to push. Alternatively, here are the only needed changes if you could do it instead: /packages/network/lib/agent.ts /packages/network/test/unit/agent_spec.ts |
@Buluc-Celik-Ozbul, you will need to fork the repo to contribute. https://github.com/cypress-io/cypress/blob/develop/CONTRIBUTING.md |
Released in This comment thread has been locked. If you are still experiencing this issue after upgrading to |
Current behavior
When I set up a proxy with username and password, the Proxy-Authorization header is created with basic type but it says "basic" with small "b" and this fails with some proxies
Desired behavior
The Proxy-Authorization header should have been created with "Basic" keyword with a capital "B"
Test code to reproduce
The script used:
"set HTTP_PROXY=http://username:password@proxy_ip:8080 & cypress open --browser chrome --config-file cypress.json"
The test function:
And("I try cypress request", () => {
});
Cypress Version
9.7.0
Other
No response
The text was updated successfully, but these errors were encountered: