This fixes most of the issues people encounter when there are multiple proxies in the request. The tricky thing is that there is another header "Forwarded" that we don't recognize, but which backends probably do, at least some of the time (since it is from an actual RFC). The problem is that "Forwarded" does not contain the ports, so Spring UriComponentsBuilder cannot use it to rewrite links to a specific port. Since we do not support it already, this change doesn't make things any worse, but the corner case is there still.
Name |
Last commit
|
Last update |
---|---|---|
.mvn | Loading commit data... | |
docs | Loading commit data... | |
eclipse | Loading commit data... | |
scripts | Loading commit data... | |
spring-cloud-netflix-core | Loading commit data... | |
spring-cloud-netflix-dependencies | Loading commit data... | |
spring-cloud-netflix-eureka-client | Loading commit data... | |
spring-cloud-netflix-eureka-server | Loading commit data... | |
spring-cloud-netflix-hystrix-amqp | Loading commit data... | |
spring-cloud-netflix-hystrix-dashboard | Loading commit data... | |
spring-cloud-netflix-hystrix-stream | Loading commit data... | |
spring-cloud-netflix-sidecar | Loading commit data... | |
spring-cloud-netflix-spectator | Loading commit data... | |
spring-cloud-netflix-turbine | Loading commit data... | |
spring-cloud-netflix-turbine-stream | Loading commit data... | |
spring-cloud-starter-archaius | Loading commit data... | |
spring-cloud-starter-atlas | Loading commit data... | |
spring-cloud-starter-eureka | Loading commit data... | |
spring-cloud-starter-eureka-server | Loading commit data... | |
spring-cloud-starter-feign | Loading commit data... | |
spring-cloud-starter-hystrix | Loading commit data... | |
spring-cloud-starter-hystrix-dashboard | Loading commit data... | |
spring-cloud-starter-ribbon | Loading commit data... | |
spring-cloud-starter-spectator | Loading commit data... | |
spring-cloud-starter-turbine | Loading commit data... | |
spring-cloud-starter-turbine-amqp | Loading commit data... | |
spring-cloud-starter-turbine-stream | Loading commit data... | |
spring-cloud-starter-zuul | Loading commit data... | |
.gitignore | Loading commit data... | |
.settings.xml | Loading commit data... | |
.travis.yml | Loading commit data... | |
Guardfile | Loading commit data... | |
LICENSE.txt | Loading commit data... | |
README.adoc | Loading commit data... | |
asciidoctor.css | Loading commit data... | |
circle.yml | Loading commit data... | |
mvnw | Loading commit data... | |
mvnw.cmd | Loading commit data... | |
pom.xml | Loading commit data... |