Skip to content

fix: allow set cookies with localhost#253

Merged
awaterma merged 5 commits intomasterfrom
fix/246_allow_set_cookie_with_localhost_and_other_special_use_domains
Aug 25, 2022
Merged

fix: allow set cookies with localhost#253
awaterma merged 5 commits intomasterfrom
fix/246_allow_set_cookie_with_localhost_and_other_special_use_domains

Conversation

@colincasey
Copy link
Copy Markdown
Contributor

Adding more tests to cover the breaking use cases noted in #246. e.g.; new CookieJar().setCookieSync("settingThisShouldPass=true; Domain=localhost; Path=/;", "http://localhost")

Also:

Adding more tests to cover the breaking use cases noted in #246.

e.g.;.
* `new CookieJar().setCookieSync("settingThisShouldPass=true; Domain=localhost; Path=/;", "http://localhost")`

Also modifies the assertion for a test introduced in #221 that may be incorrect.
Adding more tests to cover the breaking use cases noted in #246.

e.g.;.
* `new CookieJar().setCookieSync("settingThisShouldPass=true; Domain=localhost; Path=/;", "http://localhost")`

Also modifies the assertion for a test introduced in #221 that may be incorrect.
@colincasey colincasey requested a review from awaterma August 25, 2022 13:15
Adding more tests to cover the breaking use cases noted in #246.

e.g.;.
* `new CookieJar().setCookieSync("settingThisShouldPass=true; Domain=localhost; Path=/;", "http://localhost")`

Also modifies the assertion for a test introduced in #221 that may be incorrect.
@awaterma
Copy link
Copy Markdown
Member

Thanks! I'm happy with this approach! Let's discuss a bit and merge, and then generate another patch release for our week of excitement. :)

awaterma
awaterma previously approved these changes Aug 25, 2022
Copy link
Copy Markdown
Member

@awaterma awaterma left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved; will merge after discussion.

updated CHANGELOG.md to point to the releases page since changelogs are auto-generated now.
Copy link
Copy Markdown
Member

@awaterma awaterma left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved

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.

2 participants