Encryption: revert unescape

This commit is contained in:
bergware
2025-05-29 23:39:13 +02:00
parent 629a40ca0b
commit 1ebe7d09f8
2 changed files with 2 additions and 2 deletions

View File

@@ -140,7 +140,7 @@ function toggle_diskio(init) {
}
function base64(str) {
return window.btoa(decodeURIComponent(encodeURIComponent(str)));
return window.btoa(unescape(encodeURIComponent(str)));
}
function selectInput(form) {

View File

@@ -29,7 +29,7 @@ foreach ($disks as $disk) if (isset($disk['fsType']) && strncmp($disk['fsType'],
String.prototype.celsius = function(){return Math.round((parseInt(this)-32)*5/9).toString();}
function base64(str) {
return window.btoa(decodeURIComponent(encodeURIComponent(str)));
return window.btoa(unescape(encodeURIComponent(str)));
}
function doDispatch(form) {
var fields = {};