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

Support unknown MIME types as filters for the file input #1922

Merged
merged 1 commit into from
May 24, 2023

Conversation

jonatanklosko
Copy link
Member

Closes livebook-dev/kino#287.

Usually the types are known on application side and we would add new mime types with config :mime, :types, %{...}, but in this case the types comes from Kino.Input.file and can be anything the user passes.

@jonatanklosko jonatanklosko marked this pull request as ready for review May 24, 2023 11:59
@github-actions
Copy link

github-actions bot commented May 24, 2023

Uffizzi Preview deployment-26443 was deleted.

@jonatanklosko jonatanklosko merged commit 5c923b3 into main May 24, 2023
@jonatanklosko jonatanklosko deleted the jk-file-input-accept branch May 24, 2023 12:17
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.

Kino.Input.file crashes when accepts: is used to provide an unknown MIME type
2 participants