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

Allow clients to fetch all cookies including HttpOnly. #773

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ftore
Copy link

@ftore ftore commented Jun 22, 2020

Current implementation of getCookies uses javascript document.cookie to get cookies. However , it doesn't return HttpOnly cookies which can be set server side. The reason for this is javascript doesn't have access to HttpOnly cookies. This PR contains addition method called getAllCookies that return all cookies that has beed set.

This PR is the slight modification of this one which also fixes all the conflicts: #608

Discussion for this PR is here: #336

…ng httponly ones. Current getCookies() method doesn't return httponly cookies such as SESSION.
@shinriyo
Copy link

@fluttercommunity
not check?

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