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

[cookie]Change the behavior when domain is not set #53

Merged

Conversation

kitak
Copy link
Contributor

@kitak kitak commented May 12, 2020

Currently, CookieManager sets the domain from the url if the domain is not specified.
There is a problem with this behavior. It is always a cookie sent to the subdomain host.
In some cases, a user want to send a cookie only to a host with a cookie set.

To resolve this issue, CookieManager issues a cookie to the host if the user does not specify a domain. This is the same behavior as the browser's Set-Cookie.

@hisaichi5518 hisaichi5518 merged commit 696136d into hisaichi5518:master May 13, 2020
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