Address the case where setValue contains non-specced stuff
MODIFY
lib/jsonwp-proxy/protocol-converter.js
lib/jsonwp-proxy/protocol-converter.js
@@ -144,10 +144,10 @@ class ProtocolConverter {
: (_.isString(value) ? value : '');
log.debug(`Added 'text' property ${JSON.stringify(text)} to 'setValue' request body`);
}
- return await this.proxyFunc(url, method, {
+ return await this.proxyFunc(url, method, Object.assign({}, bodyObj, {
text,
value,
- });
+ }));
}
return await this.proxyFunc(url, method, body);

Address the case where setValue contains non-specced stuff (#299)