The GitHub Actions job "CI" on rocketmq-dashboard.git/fix/btl-b4-login-redirect 
has failed.
Run started by GitHub user btlqql (triggered by btlqql).

Head commit for run:
0489f310b81c56c94f1c9681375b3783ff13b0c7 / btlqql <[email protected]>
fix(web): return to the previous page after a session re-login

A 401 cleared the session and sent the browser to '/login', discarding the
page the operator was on (web/src/api/client.ts, handleSessionUnauthorized),
and the login form always navigated to '/' after a successful sign-in
(web/src/pages/login/index.tsx), so every expired session restarted the
operator from home.

The redirect now carries the current path and query string as an encoded
`redirect` parameter, and a successful login navigates back to that target.
The target is only used when it is a same-app absolute path: protocol-relative
URLs, absolute external URLs, relative paths without a leading slash and
backslash variants fall back to home.

Report URL: 
https://github.com/apache/rocketmq-dashboard/actions/runs/36961832033

With regards,
GitHub Actions via GitBox

Reply via email to