baidu / sofa-pbrpc

A light-weight RPC implement of google protobuf RPC framework.
Other
2.13k stars 655 forks source link

修复HTTP Get请求的参数含有特殊字符时解析错误 #232

Closed cyshi closed 6 years ago

cyshi commented 6 years ago

parse解析时,不需要对整个path做decode,只要对请求参数decode就可以。

测试

curl http://localhost:12321/sofa.pbrpc.test.EchoServer.Echo?request=%7B%22message%22%3A%22Hello%23%2C%20world%21%22%7D