Something went wrong. Try again.
A downstream fork of Tranquil PDS for use in margin.cafe
Something went wrong. Try again.
fix: handle AT Protocol $bytes type in json_to_ipld master
json_to_ipld handled $link (→ Ipld::Link) but treated $bytes objects as regular maps, producing a CBOR map (major type 5) instead of a byte string (major type 2). This caused downstream consumers expecting spec-compliant CBOR — notably Jetstream's atdata.UnmarshalCBOR — to fail with "decoding $byte value: illegal base64 data". Decode $bytes from standard base64 (RFC 4648 §4, padding optional) into Ipld::Bytes, matching the existing $link handling pattern.
Author Not Herself Committer Tangled Date (Mar 15, 2026, 7:15 AM UTC) Commit 92e609d3 92e609d36711f7754bb8b2a1a1a7be96dfed6645 Parent 546d3421 546d3421367633457273563f85152b5fdd8cdd6b