You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The same-host check correctly allowed cross-scheme redirects, but the
new_address was built by stripping "http://" off the old address, so the
target's port was silently dropped. Enterprise on-prem installs that run
HTTPS on a non-default port (e.g. 8443) ended up with a bogus stored
address after the first redirect. Build new_address from the redirect
target's hostname + port instead.
Adds regression tests covering explicit target port, default-port
normalization, and the unrelated-host non-promotion case.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
0 commit comments