mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Fix UTF8 in base64 decode
This commit is contained in:
parent
6e71610ea3
commit
557e082696
@ -238,7 +238,7 @@ print_callout(gettext("The capabilities offered here can be dangerous. No suppor
|
||||
|
||||
if (values.shift() == "0") {
|
||||
var file = values.shift();
|
||||
var fileContent = window.atob(values.join("|"));
|
||||
var fileContent = window.Base64.decode(values.join("|"));
|
||||
|
||||
$("#fileContent").val(fileContent);
|
||||
} else {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user