When i am sending get request with path variable having space in between throwing 400 bad request error while gateway is trying to routing to the back end server, The path variable is converting into test%25252520susanta and throwing 400 error.

/api/test susanta

http://localhost:19093/test/api/test susanta

spring boot- 3.3.3 org.springframework.cloud - 2023.0.3

i observed this issue after spring boot 3.x migration in using spring cloud gateway. Is this a bug in spring clod gateway.

Comment From: bclozel

Duplicates #33494

Comment From: susantabehera32

This issue is related to path variable not query param.. I am facing different issue in this case..

Comment From: bclozel

@susantabehera32 the same reasoning applies; if you can reproduce this issue without Spring Cloud Gateway on the classpath, please provide a minimal sample and we'll reopen this issue. Otherwise, it is likely to be related to Spring Cloud Gateway and you should create an issue on the project.