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

ARXIVCE-190: eust can become a moderator for testing arxiv-check #95

Open
wants to merge 7 commits into
base: develop
Choose a base branch
from

Conversation

bmaltzan
Copy link

@bmaltzan bmaltzan requested a review from a team January 21, 2025 14:57
set_cookies(response, data)
unset_submission_cookie(response)
unset_permanent_cookie(response)
response.set_cookie(key=tracking_cookie_name, value='', max_age=0, httponly=True)

Check warning

Code scanning / CodeQL

Failure to use secure cookies Medium

Cookie is added without the Secure attribute properly set.
@@ -64,6 +78,9 @@
response.set_cookie(key=cookie_name, value=cookie_value, max_age=max_age,
**params)

def unset_masquerade_cookie(response: Response) -> None:
cookie_name = current_app.config[f'MASQUERADE_COOKIE_NAME']
response.set_cookie(key=cookie_name, value='', max_age=0, httponly=True)

Check warning

Code scanning / CodeQL

Failure to use secure cookies Medium

Cookie is added without the Secure attribute properly set.
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.

1 participant