Uh oh!
There was an error while loading. Please reload this page.
fix: upgrade http to https in session URL for non-local hosts - #234
Conversation
When logging in with an http:// URL against a remote server, reqwest silently downgrades POST to GET on 301/302 redirects (per RFC 7231), causing subsequent commands like `tower teams switch` to fail with 404.
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
konstantinoscs
left a comment
There was a problem hiding this comment.
if you tested it and it works!
Uh oh!
There was an error while loading. Please reload this page.
When logging in with an http:// tower URL against a remote server, subsequent POST requests (like session refresh) get silently downgraded to GET on 301/302 redirects per RFC 7231, causing 404s. This upgrades http to https at login time for non-localhost URLs.