java net urisyntaxexception malformed escape pair at index where url contains queryparam with '%' #30475
Labels
in: web
Issues in web modules (web, webmvc, webflux, websocket)
status: duplicate
A duplicate of another issue
Hi Team,
I have created a project with spring-cloud-gateway that runs on netty server. Please help in finding a fix for this whenever we have a request with special character server doesn't seem to accept the request http://localhost:8080/api-gateway/testendauth?userLoginId=DHARANE%&
Error:'java net urisyntaxexception malformed escape pair at index 61'
Note: If I remove '%' or on encoding the server accepts the request.
Please check the below trace. This is while testing spring-cloud-gateway with netty server. Only testcases where queryparam has '%' seems to fail. ReactorHttpHandlerAdapter.java seems to be failing.
Is it necessary to encode queryparam before is request sent?
The text was updated successfully, but these errors were encountered: