update escape and unescape to encodeURIComponent and decodeURIComponent due to depreciation
This commit is contained in:
@@ -46,7 +46,7 @@ Content-Type: text/html`;
|
||||
data = "";
|
||||
|
||||
Object.keys(settings_obj).forEach(function (k, v) {
|
||||
data += k + "=" + escape(settings_obj[k]) + "&";
|
||||
data += k + "=" + encodeURIComponent(settings_obj[k]) + "&";
|
||||
});
|
||||
|
||||
data = data.substring(0, (data.length - 1));
|
||||
|
||||
Reference in New Issue
Block a user