You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@linkis.apache.org by Andy <an...@163.com> on 2022/05/20 07:30:06 UTC
[DISCUSS]The OpenFeign parameter value is escaped, is there a patch for this
————— 2022-5-19 —————
Xu Jie 15:47
@peacewong@WDS Brother Ping, the OpenFeign parameter value is escaped, is there a patch for this?
peacewong@WDS 15:57
Which interface is this?
Xu Jie 16:04
marked in the graph
peacewong@WDS 16:04
This doesn't look like the code in linkis? linkis escaping done
peacewong@WDS 16:06
You can refer to the practice of linkis: SpringCloudGatewayConfiguration
Xu Jie 16:28
@peacewong@WDS The OpenFeign escape used by users, is there any good way to do this?
peacewong@WDS 17:13
You can refer to this class to change it, escape it before using it, and then escape it back
Xu Jie 17:14
Does that mean you need to change the code on OpenFeign's side?
peacewong@WDS 17:19
Before and after the call needs to be modified
Xu Jie 17:20
@peacewong@WDS Which of the generated execIds should be removed: this modification should not affect anything.
peacewong@WDS 17:24
Influential, the suggestion is to optimize the input and output
Xu Jie 17:25
OK
————— 2022-5-19 —————
徐杰 15:47
@peacewong@WDS 平哥,OpenFeign参数值转义了,这个有patch吗?
peacewong@WDS 15:57
这个是哪个接口呢?
徐杰 16:04
图形里面标记了
peacewong@WDS 16:04
这个看着不是linkis里面的代码?linkis转义做了的
peacewong@WDS 16:06
可以参考linkis的做法:SpringCloudGatewayConfiguration
徐杰 16:28
@peacewong@WDS 用户使用的OpenFeign转义的,这个有啥好的办法吗?
peacewong@WDS 17:13
可以参考这个类改下,在使用之前先转义,之后再转义回来
徐杰 17:14
那意思要改OpenFeign那边的代码咯?
peacewong@WDS 17:19
调用之前和之后需要修改下
徐杰 17:20
@peacewong@WDS 把生成的execId中间哪个:去掉可以不,这个修改应该不影响什么把
peacewong@WDS 17:24
有影响的,建议是优化输入输出哦
徐杰 17:25
好的
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@linkis.apache.org
For additional commands, e-mail: dev-help@linkis.apache.org