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

Avoid detecting all txt files as application/x-idx-doc #10

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sthibaul
Copy link

All .txt files were previously detected as application/x-idx-doc MIME type, thus basically breaking printing them.

Whitespaces in MIME files mean OR. We need to use + to make it AND, so that only .txt files that have the 1b44 marker get recognized as application/x-idx-doc.

All .txt files were previously detected as application/x-idx-doc MIME
type, thus basically breaking printing them.

Whitespaces in MIME files mean OR. We need to use + to make it AND,
so that only .txt files that have the 1b44 marker get recognized as
application/x-idx-doc.
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