Skip to content

Share a PDF or image as its bytes, not as an empty file (v0.26.3) - #72

Merged
ralyodio merged 2 commits into
mainfrom
fix/binary-share-sync
Oct 28, 2026
Merged

ralyodio merged 2 commits into
mainfrom
fix/binary-share-sync

Conversation

@ralyodio

Copy link
Copy Markdown
Contributor

Anthony: "this link is still broken" (a readm3 share of
Desktop/public/infographics/*.png that renders blank).

The desktop app keeps images it reads from disk as stored files: the
workspace holds a reference and an empty source. Share and Paste link sent
that empty source, so every shared image was a 0 byte document.

  • Share and Paste link read a stored file's bytes and send a PDF or image
    as base64 (text as text); an empty file says so instead of sharing blank.
  • The server takes a PDF or image document as base64 up to 8 MB (a 6 MB
    file), rejects an empty or non-base64 one, and text keeps its 1 MB limit.
  • readm3 share image.png sends base64 too (it read the bytes as UTF-8).
  • No secret scan on base64: it only misfires.

🤖 Generated with Claude Code

ralyodio and others added 2 commits October 28, 2026 14:02
Anthony: "this link is still broken" (a readm3 share of
Desktop/public/infographics/*.png that renders blank).

The desktop app keeps images it reads from disk as stored files: the
workspace holds a reference and an empty source. Share and Paste link sent
that empty source, so every shared image was a 0 byte document.

- Share and Paste link read a stored file's bytes and send a PDF or image
  as base64 (text as text); an empty file says so instead of sharing blank.
- The server takes a PDF or image document as base64 up to 8 MB (a 6 MB
  file), rejects an empty or non-base64 one, and text keeps its 1 MB limit.
- `readm3 share image.png` sends base64 too (it read the bytes as UTF-8).
- No secret scan on base64: it only misfires.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@ralyodio
ralyodio merged commit be579a1 into main Oct 28, 2026
9 checks passed
@ralyodio
ralyodio deleted the fix/binary-share-sync branch October 28, 2026 14:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant