Skip to content

Conversation

@meisterT
Copy link
Member

@meisterT meisterT commented Feb 2, 2026

Previously:
When on a contest-scoped URL like /jury/contests/contestA/submissions and switching to contestB via the dropdown, the changeContestAction would set the cookie to contestB but redirect back to the original referer URL which still had contestA in the path. Then ContestCookieListener would detect contestA in the URL and overwrite the cookie right back to contestA, effectively canceling the switch.

Previously:
When on a contest-scoped URL like /jury/contests/contestA/submissions
and switching to contestB via the dropdown, the changeContestAction
would set the cookie to contestB but redirect back to the original
referer URL which still had contestA in the path. Then
ContestCookieListener would detect contestA in the URL and overwrite the
cookie right back to contestA, effectively canceling the switch.
@meisterT meisterT added this pull request to the merge queue Feb 2, 2026
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to no response for status checks Feb 2, 2026
@meisterT meisterT added this pull request to the merge queue Feb 2, 2026
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to no response for status checks Feb 2, 2026
@meisterT meisterT added this pull request to the merge queue Feb 3, 2026
Merged via the queue into DOMjudge:main with commit 567a85e Feb 3, 2026
43 checks passed
@meisterT meisterT deleted the fix_contest_switch branch February 3, 2026 06:39
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