Skip to content

Conversation

@ldruschk
Copy link

Add support for the SESSION_COOKIE_SAMESITE configuration option as documented in https://flask.palletsprojects.com/en/1.1.x/config/#SESSION_COOKIE_SAMESITE

(note that this includes the .travis.yml changes from #51)

cript0nauta added a commit to infobyte/faraday that referenced this pull request Jan 30, 2020
To fix the vuln, we need to use SameSite cookies. The upstream version
of Flask-KVSession doesn't support that, so we forked it, merged the
changes in mbr/flask-kvsession#52 and uploaded
the new version to PyPI (with the name `flask-kvsession-fork`).

I also changed the session cookie name to discard old session cookies
that don't have the SameSite attribute unset.
@blazerguns
Copy link

@mbr I understand you may not be maintaining this project anymore. Would it be possible to just merge this PR? This would help fix samesite attribute control.

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