nextcloud/core/src/utils
Anna Larch f92bbbadc2 fix(core): use btoa() instead of Buffer.from() for base64 encoding
window.Buffer / Buffer is a Node.js API that is not natively available
in browsers. Replace with the native browser btoa() which has been
universally available since before our minimum browser support baseline.

Backport of #60148

Signed-off-by: Anna Larch <anna@nextcloud.com>
AI-Assisted-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2026-05-19 23:48:11 +00:00
..
ClipboardFallback.ts feat(core): offer clipboard fallback for non-secure environments 2024-11-08 14:01:33 +01:00
RedirectUnsupportedBrowsers.js fix(core): use btoa() instead of Buffer.from() for base64 encoding 2026-05-19 23:48:11 +00:00
xhr-request.js fix: wipe local storages on log out 2025-02-25 16:47:32 +01:00