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

Handle text files with strange extensions #38

Merged
merged 1 commit into from
Jul 7, 2018
Merged

Handle text files with strange extensions #38

merged 1 commit into from
Jul 7, 2018

Conversation

keith
Copy link
Member

@keith keith commented Jul 7, 2018

Some text files like "foo.crash" weren't previously accepted by these
checks, because it's mime type from the system is nil. Now we check if
the type in that case conforms to the text type, and fallback to plain
text.

Some text files like "foo.crash" weren't previously accepted by these
checks, because it's mime type from the system is nil. Now we check if
the type in that case conforms to the text type, and fallback to plain
text.
@keith keith merged commit 2fc402f into master Jul 7, 2018
@keith keith deleted the ks/text-types branch July 7, 2018 21:57
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