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

Apply secure flag to cookies when running on https protocol #1158

Merged
merged 1 commit into from
Mar 18, 2021

Conversation

stevehobbsdev
Copy link
Contributor

Changes

This PR ensures that any cookies that are set using CookieStorage.setItem have the secure attribute enabled when using the HTTPS protocol.

References

See #1050

Testing

This was tested manually by supplying local CA-trusted certs to rollup-plugin-serve, and observing that the cookies now had the secure flag enabled.

  • This change adds unit test coverage
  • This change adds integration test coverage

Checklist

@stevehobbsdev stevehobbsdev requested a review from a team as a code owner March 17, 2021 14:29
@stevehobbsdev stevehobbsdev added CH: Changed enhancement An enhancement or improvement to the SDK that could not be otherwise categorized as a new feature review:small Small review labels Mar 17, 2021
@stevehobbsdev stevehobbsdev added this to the vNext milestone Mar 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CH: Changed enhancement An enhancement or improvement to the SDK that could not be otherwise categorized as a new feature review:small Small review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants