You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Claiming. Will trace the sandbox read path (BaseSandboxFilesystem → base64 '<path>' 2>/dev/null) and decode side: the shell's base64 wraps output at 76 columns per POSIX, so the raw stdout contains line breaks; if the decode step feeds the string with embedded newlines to Base64.getMimeDecoder()-incompatible handling (or keeps them in the stored bytes), the persisted content is corrupted. Fix will strip whitespace from the base64 payload before decoding (or switch to the MIME decoder, which tolerates line separators), plus a regression with a binary fixture long enough to force wrapping (>76 base64 chars).
Activity
aiyili commentedon Nov 15, 2026
Claiming. Will trace the sandbox read path (
BaseSandboxFilesystem→base64 '<path>' 2>/dev/null) and decode side: the shell'sbase64wraps output at 76 columns per POSIX, so the raw stdout containsline breaks; if the decode step feeds the string with embedded newlines toBase64.getMimeDecoder()-incompatible handling (or keeps them in the stored bytes), the persisted content is corrupted. Fix will strip whitespace from the base64 payload before decoding (or switch to the MIME decoder, which tolerates line separators), plus a regression with a binary fixture long enough to force wrapping (>76 base64 chars).fix(harness): strip base64 line wrapping in sandbox binary reads (#3966…