An approved starting URL can send a client somewhere else. A redirect crosses another trust boundary.
Checking only the first address leaves a route to an internal destination even when the visible URL looks harmless.
You'll repair a fictional download client that follows at most one Location target. Both the first address and the target must be approved. The legitimate redirect matters: turning off the entire feature would refuse a supported workflow. In production, disable redirects when you can. If a feature needs them, validate every hop with the same network and destination rules, and keep a small hop limit so a chain can't run indefinitely.
Read the fixed handler, then apply the same idea to each exercise.