Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Skip "data:" URIs in ImageConverter #10099

Merged
merged 1 commit into from Jan 15, 2022
Merged

Conversation

mgeier
Copy link
Contributor

@mgeier mgeier commented Jan 13, 2022

Fixes #10073.

Supersedes and closes #10074.

This alternative has been suggested by @tk0miya in #10073 (comment).

If a builder supports "data" URIs, we should assume that it supports all possible MIME types.

Using a "data" URI with an exotic image format doesn't really make sense.

Feature or Bugfix

  • Bugfix

@tk0miya
Copy link
Member

tk0miya commented Jan 15, 2022

Thanks!

@mgeier
Copy link
Contributor Author

mgeier commented Jan 18, 2022

For the record: I'm suggesting to revert this and solve it more generally in #10118.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 18, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support for "data" URIs in ImageConverter.guess_mimetypes()
2 participants