qicz commented on issue #2200:
URL: 
https://github.com/apache/incubator-shenyu/issues/2200#issuecomment-939210896


   @longhujing  
   
   > 这里又对%进行了一次转义,转成了%25,于是
   本来期望的是这样的:http://172.20.218.131:8080/test?name=%23&page=1&pageSize=1
   结果给我变成了这样:http://172.20.218.131:8080/test?name=%2523&page=1&pageSize=1
   
   事实上,就是这样的处理的
   
![image](https://user-images.githubusercontent.com/2174082/136641372-a17889b4-fbe1-4ada-998b-ad4366e89930.png)
   
   同时,使用`getRawQuery`是可以正确获取数据的。 这是webclient发送数据的时候对数据进行了编码, 
服务端在数据参数mapping时进行了解码。
   
   
所以你的目的是拿到对的数据,还是你要的这个地址(http://172.20.218.131:8080/test?name=%23&page=1&pageSize=1)做其他的事?
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to