Describe the Bug
If there's no referrer the browser gets redirected to an incorrect url after a successful login.
Usually it will be redirected to /manifest.json which is the most recent resource that was loaded by the login page.
If DevTools is open the browser will be redirected to /dist/app.js.map which shows the 404 page.
Steps to Reproduce
- Enter BookStack's
/login url in the browser's address bar, not by clicking the "Login" button
- Enter correct login credentials and click the "Log In" button
- Browser gets redirected to
/manifest.json
Expected Behaviour
The browser should be redirected to the homepage.
Screenshots or Additional Context
No response
Browser Details
any
Exact BookStack Version
v25.11.3
Describe the Bug
If there's no referrer the browser gets redirected to an incorrect url after a successful login.
Usually it will be redirected to
/manifest.jsonwhich is the most recent resource that was loaded by the login page.If DevTools is open the browser will be redirected to
/dist/app.js.mapwhich shows the 404 page.Steps to Reproduce
/loginurl in the browser's address bar, not by clicking the "Login" button/manifest.jsonExpected Behaviour
The browser should be redirected to the homepage.
Screenshots or Additional Context
No response
Browser Details
any
Exact BookStack Version
v25.11.3