Skip to content

Commit

Permalink
Workaround for node bug 56219 (#1522)
Browse files Browse the repository at this point in the history
nodejs/node#56219 breaks our base-64 encoder.  Node is off spec and should release fix quickly.  Normally I wouldn't patch but in this case workaround is innocuous.

Fixes #1516

Co-authored-by: Ingo Fischer <[email protected]>
  • Loading branch information
lauckhart and Apollon77 authored Dec 15, 2024
1 parent 2948a38 commit 01bff7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/general/src/codec/Base64Codec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export namespace Base64 {
}
}

return new TextDecoder("iso-8859-1").decode(out);
return new TextDecoder().decode(out);
}

/**
Expand Down

0 comments on commit 01bff7b

Please sign in to comment.