Skip to content

Fix login redirect to honor next parameter (#201)#210

Merged
mario-ah-salamanca merged 1 commit into
prodfrom
main
Jun 5, 2026
Merged

Fix login redirect to honor next parameter (#201)#210
mario-ah-salamanca merged 1 commit into
prodfrom
main

Conversation

@mario-ah-salamanca

Copy link
Copy Markdown
  • Initial plan

  • Fix login redirect to respect 'next' parameter with security validation

  • Add unit tests for login redirect with next parameter

  • Fix tests to use testserver host for URL validation

  • fix: users are redirected to the page they expected when logging in

  • fix: use django redirect function


* Initial plan

* Fix login redirect to respect 'next' parameter with security validation

Co-authored-by: kuboschek <1071495+kuboschek@users.noreply.github.com>

* Add unit tests for login redirect with next parameter

Co-authored-by: kuboschek <1071495+kuboschek@users.noreply.github.com>

* Fix tests to use testserver host for URL validation

Co-authored-by: kuboschek <1071495+kuboschek@users.noreply.github.com>

* fix: users are redirected to the page they expected when logging in

* fix: use django redirect function

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: kuboschek <1071495+kuboschek@users.noreply.github.com>
Co-authored-by: Leo Kuboschek <leo@kuboschek.me>
@mario-ah-salamanca mario-ah-salamanca merged commit 153406a into prod Jun 5, 2026
10 of 19 checks passed
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