Remove [ and ] around parameter values in http url
Without this patch, using a publisher like - http://host.com/?a=b&c=d leads to calling a http post to http://host.com/?a=['b']&c=['d'] URLs without additional parameters are not affected. Change-Id: I7c4f03b5d4412ec2844cb24d32ce575442c9fd3c (cherry picked from commit4c859ad4df
) (cherry picked from commitaf90111c14
)
This commit is contained in:
parent
4aab9fac33
commit
35c73570eb
|
@ -139,7 +139,7 @@ class HttpPublisher(publisher.ConfigPublisherBase):
|
|||
scheme,
|
||||
netloc,
|
||||
parsed_url.path,
|
||||
urlparse.urlencode(params),
|
||||
urlparse.urlencode(params, doseq=True),
|
||||
parsed_url.fragment])
|
||||
|
||||
self.session.mount(self.target, adapters.HTTPAdapter(**kwargs))
|
||||
|
|
Loading…
Reference in New Issue