spring-cloud-gateway
spring-cloud-gateway copied to clipboard
problem with URL encoding
trying to run a request with
/demo/get?timeZone=%2B02%3A00
causes proxied service to fail with because parameter is received as ' 02:00' instead of '+02:00'
my simple gateway config:
@Bean
public RouterFunction<ServerResponse> demoRoute() {
return route("demo")
.route(path("/demo/**"), http("http://localhost:8080/demo/"))
.before(preserveHostHeader())
.build();
}