assets/js/romo/base.js in romo-0.20.8 vs assets/js/romo/base.js in romo-0.20.9
- old
+ new
@@ -602,10 +602,13 @@
var keyValues = [];
var processKeyValue = function(keyValues, key, value, opts) {
var v = String(value);
if (!opts || !opts.removeEmpty || v !== '') {
- keyValues.push([key, v]);
+ keyValues.push([
+ encodeURIComponent(key),
+ encodeURIComponent(v)
+ ]);
}
}
for (var key in data) {
var value = data[key];