Login can lead to a redirect to another site #1689

Closed
opened 2026-02-05 01:37:36 +03:00 by OVERLORD · 0 comments
Owner

Originally created by @ssddanbrown on GitHub (Apr 28, 2020).

Describe the bug
The redirect-upon-login logic can cause a redirect back to the original referrer.

Steps To Reproduce

On a fresh session, Click the "Open Demo" button on the main BookStack site, then login.
You'll be redirected back to bookstack site.

Expected behavior
You land on a page that's not external from the BookStack instance.

Originally created by @ssddanbrown on GitHub (Apr 28, 2020). **Describe the bug** The redirect-upon-login logic can cause a redirect back to the original referrer. **Steps To Reproduce** On a fresh session, Click the "Open Demo" button on the main BookStack site, then login. You'll be redirected back to bookstack site. **Expected behavior** You land on a page that's not external from the BookStack instance.
OVERLORD added the 🚀 Priority🏭 Back-End labels 2026-02-05 01:37:36 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#1689