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

CookieJar cleanup #15165

Merged
merged 2 commits into from
May 12, 2021
Merged

CookieJar cleanup #15165

merged 2 commits into from
May 12, 2021

Conversation

agalway-r7
Copy link
Contributor

Fixes issues with the new CookieJar feature:

  • Breaks out the combined https/http tests into separate tests and removes the leaky DomainName implementation detail.
  • Forces the HttpCookie attr_hash options to use the class setters.
  • Updates and adds documentation for HttpCookie & HttpCookieJar methods.

Also done but not part of this PR:

@adfoster-r7 adfoster-r7 self-assigned this May 12, 2021
expect(v).to eq(cookie.domain.nil?)
end

it "will return false if url with http protocol is passed with a domain that doesn't match the cookie domain" do
Copy link
Contributor

Choose a reason for hiding this comment

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

Looks like this file didn't have rubocop run on it 🤷

@adfoster-r7 adfoster-r7 merged commit 0f73031 into rapid7:master May 12, 2021
@adfoster-r7
Copy link
Contributor

adfoster-r7 commented May 12, 2021

Release Notes

Added documentation for the new cookie jar implementation, which is available for http-based modules.

@adfoster-r7 adfoster-r7 added the rn-enhancement release notes enhancement label May 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement rn-enhancement release notes enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants