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: Cookie with secure attribute are not attached to the request on localhost(closes #2715) #2761

Merged
merged 4 commits into from Apr 19, 2022

Conversation

Artem-Babich
Copy link
Contributor

Purpose

Cookies with the secure attribute should be passed to the localhost server(without SSL) or any other server(with SSL). CookieJar only checks the protocol, but not a hostname. That is why we should add a secure attribute in the case of localhost.

Approach

Manually check the host name and pass the secure attribute to the getCookieStringSync method in case of hostname is localhost.

References

Cookie not attached when request to server is redirected #2715.

@Artem-Babich Artem-Babich temporarily deployed to CI April 18, 2022 11:45 Inactive
@miherlosev miherlosev merged commit a50cb5e into DevExpress:master Apr 19, 2022
@qualityshepherd
Copy link

yay!

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

4 participants