-
Notifications
You must be signed in to change notification settings - Fork 203
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
Fixes #2550 - Adds samesite attribute to session cookie #2551
Conversation
Travis tests have failedHey @laghee, 1st Buildnosetests
sleep 5
npm run test:js -- --reporters="runner" --firefoxBinary=`which firefox`
|
config/__init__.py
Outdated
if not LOCALHOST: | ||
SESSION_COOKIE_SECURE = True | ||
SESSION_COOKIE_SAMESITE = 'Lax' |
This comment was marked as abuse.
This comment was marked as abuse.
Sorry, something went wrong.
This comment was marked as abuse.
This comment was marked as abuse.
Sorry, something went wrong.
This comment was marked as abuse.
This comment was marked as abuse.
Sorry, something went wrong.
This comment was marked as abuse.
This comment was marked as abuse.
Sorry, something went wrong.
This comment was marked as abuse.
This comment was marked as abuse.
Sorry, something went wrong.
83493d2
to
b0b6d74
Compare
Heya @laghee! Sorry this has been sitting here for so long... Would it be possible to squash/fixup the 1st and 3rd commits together, and keep the first commit message? (i can show you how to do this on slack, so just ping me if you don't know how to yet) |
Thanks for adding this, @laghee |
This PR fixes issue
#2550
Proposed PR background
Please provide enough information so that others can review your pull request:
Making a security tweak for safer compatting (based on analysis from observatory.mozilla.org and new flask capability).
Edit: Added conditional disabling so functional tests don't crash.