Closed PSoltes closed 2 months ago
@PSoltes Thank you for bringing the issue to our attention. We have resolved it and released an updated version of the package. Please check the latest release below. Link: https://www.npmjs.com/package/contentstack/v/3.20.3
CC: @harshithad0703 @netrajpatel
In this file https://github.com/contentstack/contentstack-javascript/blob/8b33df9d033e8fd10ce5d9d52cef54bc3f1bb515/src/core/lib/request.js#L112
introduced by this commit(s)
Longer explanation
query
query param is already encoded on line 26k + "=" + encodeURIComponent(p !== 'query' ? v : JSON.stringify(v)));
fetch(encodeURI(request.url), request.option)