diff options
| author | Gab Virebent <gabriel1@virebent.art> | 2026-07-02 18:01:21 +0200 |
|---|---|---|
| committer | Gab Virebent <gabriel1@virebent.art> | 2026-07-02 18:01:21 +0200 |
| commit | 25fb52dc5c587acca2f4457d5c6f7b8032b7829c (patch) | |
| tree | 7af788ccbb71c0ae5dbc278b4e5cfa8cbd6f48d2 /static/favicon-32.png | |
| parent | 52eb46afad75d76c707ed11bbddddbcf5e121deb (diff) | |
| download | nymdrop-25fb52dc5c587acca2f4457d5c6f7b8032b7829c.tar.gz nymdrop-25fb52dc5c587acca2f4457d5c6f7b8032b7829c.tar.xz nymdrop-25fb52dc5c587acca2f4457d5c6f7b8032b7829c.zip | |
Fix base64 encoding crash on file attachments over ~1MB
String.fromCharCode(...bytes) spreads every byte as a separate call
argument, exceeding the engine's max-arguments limit on multi-MB files
(RangeError: Maximum call stack size exceeded). Chunk the conversion
instead. Reported by a real submitter trying a 1.5MB file.
Diffstat (limited to 'static/favicon-32.png')
0 files changed, 0 insertions, 0 deletions
