Skip to content

fix(svg): normalize image-source MIME types before SVG dispatch (fixe… - #78

Open
nolanntibi-dot wants to merge 1 commit into
tscircuit:mainfrom
nolanntibi-dot:nolanntibi-dot-patch-1
Open

nolanntibi-dot wants to merge 1 commit into
tscircuit:mainfrom
nolanntibi-dot:nolanntibi-dot-patch-1

Conversation

@nolanntibi-dot

Copy link
Copy Markdown

…s #58)

Normalize media-type tokens for HTTP and inline data URLs with .trim().toLowerCase() before comparing to ensure uppercase SVG content-types and case-insensitive application/octet-stream fallback work correctly.

…tscircuit#58)

Normalize media-type tokens for HTTP and inline data URLs with .trim().toLowerCase() before comparing to ensure uppercase SVG content-types and case-insensitive application/octet-stream fallback work correctly.
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