longhujing edited a comment on issue #2200: URL: https://github.com/apache/incubator-shenyu/issues/2200#issuecomment-939279558
我试过你这种做法,我之前是这样弄的: 1. 我通过getQuery()拿到路径参数,路径参数包含一些特殊字符比如#等 2. 然后我对特殊字符进行转义,把#转化成%23 3. 但是到了最后构造请求的时候变成了 %2523,导致我下一层应用获取到的数据就变成了%23,实际上我期望的应该是#,总不能让我下一层应用做一次转码吧 示例如下:    而且,更重要的是,在不接入Shenyu网关之前,前端都无需做任何的改动(比如你说的对特殊字符编码之类的),但是接入了Shenyu网关之后却要多做一次转化,我觉得这是非常不合理的。 目前我个人更倾向于在网关层屏蔽掉这个问题 @qicz -- 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]
