Revert "update escape and unescape to encodeURIComponent and decodeURIComponent due to depreciation"

This reverts commit 2be836784d.
This commit is contained in:
zefie
2024-03-25 16:11:09 -04:00
parent 06ba1db8e8
commit ed37185d1b
21 changed files with 55 additions and 1012 deletions

View File

@@ -46,7 +46,7 @@ Content-Type: text/html`;
data = "";
Object.keys(settings_obj).forEach(function (k, v) {
data += k + "=" + encodeURIComponent(settings_obj[k]) + "&";
data += k + "=" + escape(settings_obj[k]) + "&";
});
data = data.substring(0, (data.length - 1));