Skip to content

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

Merged
bmaltzan merged 8 commits intodevelopfrom
ARXIVCE-190-become-user
Feb 19, 2025
Merged

ARXIVCE-190: eust can become a moderator for testing arxiv-check#95
bmaltzan merged 8 commits intodevelopfrom
ARXIVCE-190-become-user

Conversation

@bmaltzan
Copy link
Contributor

@bmaltzan bmaltzan commented Jan 21, 2025

This can be tested on dev, notes here:

Depends on:

And a fastly route, to cit for:

  • /become_user

@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.

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.
@bmaltzan bmaltzan merged commit cc6796b into develop Feb 19, 2025
2 of 3 checks passed
@bmaltzan bmaltzan deleted the ARXIVCE-190-become-user branch February 19, 2025 14:23
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