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
{{ message }}
Repository navigation
Text data URLs with uppercase BASE64 markers expose encoded payloads #47583
Text attachments using an uppercase or mixed-case base64 flag are not decoded in the session prompt path. The shared data-URL helper checks for the exact lowercase substring ;base64; when it receives data:text/plain;BASE64,SGVsbG8=, it falls through to percent-decoding and returns the literal text SGVsbG8= instead of Hello.
The Fetch Standard's data-URL processor matches the base64 flag ASCII case-insensitively. The helper should parse semicolon-delimited metadata and recognize an exact base64 token without regard to casing.
This is distinct from #47538, which concerns uppercase DATA: schemes during V2 media normalization. This report concerns the BASE64 flag in server-side text attachment decoding.
Thanks for the report. The current v2 attachment decoder recognizes the base64 marker without regard to letter casing and decodes the payload, so I'm closing this as fixed. If it still happens on the latest v2, please open a new issue with your version and reproduction steps.
Activity
sdivyanshu90 commentedon Sep 19, 2026
Could you please review this issue?
neriousy commentedon Oct 20, 2026
Thanks for the report. The current v2 attachment decoder recognizes the base64 marker without regard to letter casing and decodes the payload, so I'm closing this as fixed. If it still happens on the latest v2, please open a new issue with your version and reproduction steps.