A customer portal redirects anywhere after login. You show it in the Location header, learn the spellings that slip past simple checks, and switch the code to an allowlist.
Secure codingBeginner 20 min Simulation in your browser, no real systems
You can demonstrate an open redirect with curl -I and the Location header.
You know why //host and /\host leave the site despite the leading slash.
You restrict redirects to an allowlist or to validated paths on your own site.