mirror of
https://github.com/unraid/webgui.git
synced 2026-01-01 23:20:35 -06:00
Encryption: revert unescape
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -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 = {};
|
||||
|
||||
Reference in New Issue
Block a user