Skip to content
Snippets Groups Projects
Commit 1e079524 authored by cvictory's avatar cvictory
Browse files

fix : url.getPath contains slash, but it don't in dubbo-java

parent fe3c5b04
No related branches found
No related tags found
No related merge requests found
......@@ -97,7 +97,7 @@ func (di *DubboInvoker) Invoke(ctx context.Context, invocation protocol.Invocati
inv := invocation.(*invocation_impl.RPCInvocation)
// init param
inv.SetAttachments(constant.PATH_KEY, di.GetUrl().Path)
inv.SetAttachments(constant.PATH_KEY, di.GetUrl().GetParam(constant.INTERFACE_KEY, ""))
inv.SetAttachments(constant.VERSION_KEY, di.GetUrl().GetParam(constant.VERSION_KEY, ""))
for _, k := range attachmentKey {
if v := di.GetUrl().GetParam(k, ""); len(v) > 0 {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment