Language: JavaScript. The pull request has one bug. You get three tries to find the line, then a short debrief.
When a signed-out customer opens their cart, they are sent to /login?next=/cart and, after signing in, dropped on the home page. Now they return to the page they came from. To keep this from being abused, only paths on our own site are accepted.
Codetrap needs JavaScript: the code review happens in your browser.