@esfaenza/core 19.2.65 → 19.2.67
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -237,6 +237,8 @@ class ErrorPageComponent {
|
|
|
237
237
|
}
|
|
238
238
|
}
|
|
239
239
|
b64DecodeUnicode(str) {
|
|
240
|
+
if (!str)
|
|
241
|
+
return "";
|
|
240
242
|
// Bytestream -> Encoding % -> Stringa originale
|
|
241
243
|
return decodeURIComponent(atob(str).split("").map(c => "%" + ("00" + c.charCodeAt(0).toString(16)).slice(-2)).join(""));
|
|
242
244
|
}
|