You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shenyu.apache.org by zcq <zc...@zhucongqi.cn> on 2021/10/09 03:09:04 UTC
#2200, #2203 discussion
Hi,
When arguments contain special characters, the original "DividePlugin" implementation uses "getQuery" which decode the arguments("decodeQuery" in picture), to escape those special characters.
eg: GET http://localhost:9195/http/test/divide/raw?name=divide&address=%23
The result:
But the "getRawQuery" will use the origin arguments("query" in picture).
the result:
So if the arguments contain special characters, "getRawQuery" is better choice.
The other way, user can encode arguments by self.
https://github.com/apache/incubator-shenyu/pull/2203