spring-cloud-gateway icon indicating copy to clipboard operation
spring-cloud-gateway copied to clipboard

problem with URL encoding

Open tompson opened this issue 1 year ago • 0 comments

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();
    }

tompson avatar May 16 '24 09:05 tompson