Merge branch 'master' into dependabot/go_modules/github.com/unistack-org/micro/v3-3.7.4

This commit is contained in:
Василий Толстов 2021-09-23 16:44:05 +03:00 committed by GitHub
commit a5aea8578c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -90,7 +90,7 @@ func newRequest(ctx context.Context, addr string, req client.Request, ct string,
var nmsg interface{}
if len(u.Query()) > 0 {
path, nmsg, err = newPathRequest(u.Path+"?"+u.Query().Encode(), method, body, msg, tags)
path, nmsg, err = newPathRequest(u.Path+"?"+u.RawQuery, method, body, msg, tags)
} else {
path, nmsg, err = newPathRequest(u.Path, method, body, msg, tags)
}