blibli-backend-framework
blibli-backend-framework copied to clipboard
ApiClient doesn't encode URI with proper URI EncodingMethod
For example I have apiClientX
with following path:
/get?query[id][is]=xyz and abc
xyz and abc
is URI values, passed through api client method interface.
And I set DefaultUriBuilderFactory.EncodingMode=VALUES_ONLY
.
Then send the request...
Expectation
/get?query[id][is]=xyz+and+abc
(url template is NOT encoded, url values is encoded)
Actual
/get?query[id][is]=xyz and abc
(url template is NOT encoded, url values is NOT encoded)
Current workaround
Encode the xyz and abc
manually with java URI encoder method before passing it to apiClientX
.
Will fill up later for sample code.