Fix recursion masked reverse_proxy #1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Masked reverse_proxy (
reverse_proxy: source => destination) is supposed to act as a reverse_proxy that tries, by forwarding and rewriting headers, to make the proxy seamless and avoid any external redirects that would result in the browser moving to a different URL.Right now, masked reverse_proxy fails due to recursion. The destination service returns a redirect, using the same domain thanks to the header rewrite, but the header that's sent back is not rewritten, and as such this results in MProxy adding the path to the URL again.