Skip to content

Commit

Permalink
localStorage parse: don't use atob, just parse JSON (#182)
Browse files Browse the repository at this point in the history
bump to 3.8.6
  • Loading branch information
ikreymer authored Nov 21, 2024
1 parent ea5483e commit 9bcc533
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wombat.js
Original file line number Diff line number Diff line change
Expand Up @@ -6193,7 +6193,7 @@ Wombat.prototype.initStorageOverride = function() {

if (this.wb_info.storage) {
try {
initStorage = JSON.parse(atob(this.wb_info.storage));
initStorage = JSON.parse(this.wb_info.storage);
} catch (e) {
console.warn('Error parsing storage, storages not loaded');
}
Expand Down

0 comments on commit 9bcc533

Please sign in to comment.