Commit ea80ac17 by Dave Syer

Fix issue with Host header in proxied requests

parent 4b4a8a5b
...@@ -195,6 +195,9 @@ public class RibbonRoutingFilter extends ZuulFilter { ...@@ -195,6 +195,9 @@ public class RibbonRoutingFilter extends ZuulFilter {
if (headers.containsKey("transfer-encoding")) if (headers.containsKey("transfer-encoding"))
headers.remove("transfer-encoding"); headers.remove("transfer-encoding");
if (headers.containsKey("host"))
headers.remove("host");
return headers; return headers;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment