fix: binary asset serving + checkout centering #128
Reference in New Issue
Block a user
Delete Branch "fix/binary-assets-checkout-layout"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
http_response()JSON-encodes the body viajb_emit_escaped()which stops at the first null byte. PNG files have null bytes at byte 8 (IHDR chunk length). Served 8 bytes → browser got corrupt image. Fix: binary side-channel inel_runtime.c— raw bytes stored in thread-local, sentinel in envelope,http_send_response()substitutes real bytes..checkout-shell,.checkout-summary,.checkout-form-wraphad no CSS. Added 2-col grid layout,max-width: 980pxcentering, sticky order summary, responsive collapse at 860px.